diff options
author | Vincent Ambo <mail@tazj.in> | 2020-07-12T12·38+0100 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2020-07-12T13·36+0000 |
commit | d76f1eb10b6b280c2b52b947fa7b915b168bf593 (patch) | |
tree | e2beb19de5801dbfec5ec5b953581c1f0e6ebb9d | |
parent | 93575158c64e3400860a8f99b534f84b71ed68a6 (diff) |
chore(tazjin/camden): Remove Sourcegraph & TVL website deployments r/1263
These are now on whitby. Change-Id: I25b1cdedf4ce9cdb377a40edbbbce123938b6828 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1068 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
-rw-r--r-- | users/tazjin/nixos/camden/default.nix | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/users/tazjin/nixos/camden/default.nix b/users/tazjin/nixos/camden/default.nix index f48bb98c8019..437dddae2fd6 100644 --- a/users/tazjin/nixos/camden/default.nix +++ b/users/tazjin/nixos/camden/default.nix @@ -249,9 +249,6 @@ in lib.fix(self: { applicationCredentials = "/etc/gcp/key.json"; }; - # Run a SourceGraph code search instance - services.depot.sourcegraph.enable = true; - # Start a local SMTP relay to Gmail (used by gerrit) services.depot.smtprelay = { enable = true; @@ -358,27 +355,6 @@ in lib.fix(self: { ''; }; - virtualHosts.tvl = { - serverName = "tvl.fyi"; - useACMEHost = "tvl.fyi"; - root = depot.web.tvl; - forceSSL = true; - - extraConfig = '' - add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; - - rewrite ^/builds/?$ https://buildkite.com/tvl/depot/ last; - - rewrite ^/monorepo-doc/?$ https://docs.google.com/document/d/1nnyByXcH0F6GOmEezNOUa2RFelpeRpDToBLYD_CtjWE/edit?usp=sharing last; - - rewrite ^/irc/?$ ircs://chat.freenode.net:6697/##tvl last; - - location ~* \.(webp|woff2)$ { - add_header Cache-Control "public, max-age=31536000"; - } - ''; - }; - virtualHosts.cgit = { serverName = "code.tvl.fyi"; useACMEHost = "tvl.fyi"; @@ -397,27 +373,6 @@ in lib.fix(self: { ''; }; - virtualHosts.sourcegraph = { - serverName = "cs.tvl.fyi"; - useACMEHost = "tvl.fyi"; - forceSSL = true; - - extraConfig = '' - location = / { - return 301 https://cs.tvl.fyi/depot; - } - - location / { - proxy_set_header X-Sg-Auth "Anonymous"; - proxy_pass http://localhost:3463; - } - - location /users/Anonymous/settings { - return 301 https://cs.tvl.fyi; - } - ''; - }; - virtualHosts.gerrit = { serverName = "cl.tvl.fyi"; useACMEHost = "tvl.fyi"; |