From 6f62ebd120e5512253ae47513895cba8f9c584fd Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 1 Jun 2020 00:10:48 +0100 Subject: [PATCH] clouvider-fra01: apply oauth2 to int.lukegb.com as well --- ops/nixos/clouvider-fra01/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/nixos/clouvider-fra01/default.nix b/ops/nixos/clouvider-fra01/default.nix index f594bb1e39..5c4a5b687d 100644 --- a/ops/nixos/clouvider-fra01/default.nix +++ b/ops/nixos/clouvider-fra01/default.nix @@ -199,7 +199,7 @@ in { }; keyFile = machineSecrets.oauth2proxySecrets; 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 = { whitelist-domain = ".int.lukegb.com,int.lukegb.com"; };