about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-10T23·50+0100
committertazjin <mail@tazj.in>2020-07-11T01·00+0000
commita8c77b9c2aea361baf81a93ee446ab8151a57ce1 (patch)
treef130ab96fdb244e30d3116718ae4a7338adcd7c4 /ops/nixos
parentb65575fc31fd9326db7989eb8a9b15439dd8866e (diff)
fix(monorepo-gerrit): Explicitly set gerrit.docUrl r/1253
This prevents a request that takes >1s on each page load.

Change-Id: Ic91bb602e3059b1f17681aa468739bb0a103f8cf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1003
Tested-by: BuildkiteCI
Reviewed-by: isomer <isomer@tvl.fyi>
Diffstat (limited to 'ops/nixos')
-rw-r--r--ops/nixos/monorepo-gerrit.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/nixos/monorepo-gerrit.nix b/ops/nixos/monorepo-gerrit.nix
index 185ff92b4f6c..577cf7922c5f 100644
--- a/ops/nixos/monorepo-gerrit.nix
+++ b/ops/nixos/monorepo-gerrit.nix
@@ -34,6 +34,7 @@ in {
       # Configures gerrit for being reverse-proxied by nginx as per
       # https://gerrit-review.googlesource.com/Documentation/config-reverseproxy.html
       gerrit.canonicalWebUrl = "https://cl.tvl.fyi";
+      gerrit.docUrl = "/Documentation";
       httpd.listenUrl = "proxy-https://${cfg.listenAddress}";
 
       download.command = [