From 70af593a5f08274eeb4022972985c93c711e9a32 Mon Sep 17 00:00:00 2001 From: arcnmx Date: Sat, 23 Mar 2024 13:34:28 -0700 Subject: [PATCH] fix(vouch): https redirects --- nixos/access/vouch.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/access/vouch.nix b/nixos/access/vouch.nix index 94c41d8d..aa2a48f5 100644 --- a/nixos/access/vouch.nix +++ b/nixos/access/vouch.nix @@ -20,6 +20,7 @@ in { "http://${host}:${toString cfg.settings.vouch.port}"; locations = { "/" = { + ssl.force = true; extraConfig = '' proxy_redirect default; set $x_proxy_host $x_forwarded_host; @@ -56,7 +57,6 @@ in { "/".proxyPass = mkIf cfg.enable (mkDefault localVouchUrl); } ]; - ssl.force = true; }; vouch'local = { name = {