diff options
author | Vincent Ambo <mail@tazj.in> | 2020-07-10T23·50+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-07-11T01·00+0000 |
commit | a8c77b9c2aea361baf81a93ee446ab8151a57ce1 (patch) | |
tree | f130ab96fdb244e30d3116718ae4a7338adcd7c4 /ops/nixos | |
parent | b65575fc31fd9326db7989eb8a9b15439dd8866e (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.nix | 1 |
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 = [ |