fix(monorepo-gerrit): Use Google's CDN to serve static assets
Change-Id: Ib4ffc1d9b030a5982b9063c1d6322fb87ba7f910 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1022 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
This commit is contained in:
parent
5de644a597
commit
b53d25ab3f
1 changed files with 9 additions and 2 deletions
|
@ -35,8 +35,15 @@ 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";
|
||||
gerrit = {
|
||||
canonicalWebUrl = "https://cl.tvl.fyi";
|
||||
docUrl = "/Documentation";
|
||||
|
||||
# This needs to be kept in lockstep with the Polygerrit UI
|
||||
# version we use.
|
||||
cdnPath = "https://cdn.googlesource.com/polygerrit_ui/768.0";
|
||||
};
|
||||
|
||||
httpd.listenUrl = "proxy-https://${cfg.listenAddress}";
|
||||
|
||||
download.command = [
|
||||
|
|
Loading…
Reference in a new issue