From 3806cea40bb2099209de922731c1b7dbd9507e58 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 4 Jan 2022 14:25:11 +0300 Subject: chore(ops): Remove login.tvl.fyi module It looks like we won't need this for oauth2_proxy when combined with nginx auth_request setups. Change-Id: I2294aee6226b4f64a27bf6592c2d18092d0268cc Reviewed-on: https://cl.tvl.fyi/c/depot/+/4766 Tested-by: BuildkiteCI Autosubmit: tazjin Reviewed-by: grfn --- ops/machines/whitby/default.nix | 1 - ops/modules/www/login.tvl.fyi.nix | 24 ------------------------ 2 files changed, 25 deletions(-) delete mode 100644 ops/modules/www/login.tvl.fyi.nix (limited to 'ops') diff --git a/ops/machines/whitby/default.nix b/ops/machines/whitby/default.nix index ce97628cc3f5..28d7cf381da1 100644 --- a/ops/machines/whitby/default.nix +++ b/ops/machines/whitby/default.nix @@ -30,7 +30,6 @@ in { "${depot.path}/ops/modules/www/cs.tvl.fyi.nix" "${depot.path}/ops/modules/www/deploys.tvl.fyi.nix" "${depot.path}/ops/modules/www/images.tvl.fyi.nix" - # "${depot.path}/ops/modules/www/login.tvl.fyi.nix" "${depot.path}/ops/modules/www/nixery.dev.nix" "${depot.path}/ops/modules/www/static.tvl.fyi.nix" "${depot.path}/ops/modules/www/status.tvl.su.nix" diff --git a/ops/modules/www/login.tvl.fyi.nix b/ops/modules/www/login.tvl.fyi.nix deleted file mode 100644 index dd2e96324186..000000000000 --- a/ops/modules/www/login.tvl.fyi.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ ... }: - -{ - imports = [ - ./base.nix - ]; - - config = { - services.nginx.virtualHosts."login.tvl.fyi" = { - serverName = "login.tvl.fyi"; - enableACME = true; - forceSSL = true; - - extraConfig = '' - location / { - proxy_pass http://localhost:8444; - proxy_set_header X-Forwarded-For $remote_addr; - proxy_set_header X-Forwarded-Proto https; - proxy_set_header Host $host; - } - ''; - }; - }; -} -- cgit 1.4.1