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 <tazjin@tvl.su> Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
9d327c3acc
commit
3806cea40b
2 changed files with 0 additions and 25 deletions
|
@ -30,7 +30,6 @@ in {
|
||||||
"${depot.path}/ops/modules/www/cs.tvl.fyi.nix"
|
"${depot.path}/ops/modules/www/cs.tvl.fyi.nix"
|
||||||
"${depot.path}/ops/modules/www/deploys.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/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/nixery.dev.nix"
|
||||||
"${depot.path}/ops/modules/www/static.tvl.fyi.nix"
|
"${depot.path}/ops/modules/www/static.tvl.fyi.nix"
|
||||||
"${depot.path}/ops/modules/www/status.tvl.su.nix"
|
"${depot.path}/ops/modules/www/status.tvl.su.nix"
|
||||||
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue