clouvider-fra01: apply oauth2 to int.lukegb.com as well

This commit is contained in:
Luke Granger-Brown 2020-06-01 00:10:48 +01:00
parent 17f7cda651
commit 6f62ebd120

View file

@ -199,7 +199,7 @@ in {
}; };
keyFile = machineSecrets.oauth2proxySecrets; keyFile = machineSecrets.oauth2proxySecrets;
redirectURL = "https://login.int.lukegb.com/oauth2/callback"; redirectURL = "https://login.int.lukegb.com/oauth2/callback";
nginx.virtualHosts = builtins.filter (lib.hasSuffix ".int.lukegb.com") (builtins.attrNames vhosts); nginx.virtualHosts = builtins.filter (value: value == "int.lukegb.com" || lib.hasSuffix ".int.lukegb.com" value) (builtins.attrNames vhosts);
extraConfig = { extraConfig = {
whitelist-domain = ".int.lukegb.com,int.lukegb.com"; whitelist-domain = ".int.lukegb.com,int.lukegb.com";
}; };