From 8ab8e0b3feec36122c7026bc40aed026cc24dc2f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 31 Mar 2021 22:25:47 +0200 Subject: ... --- custom/ymir-nginx.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'custom') diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 323d09fb..97d4e752 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix @@ -121,9 +121,7 @@ in { ssl_certificate /var/lib/acme/yggdrasil.li/fullchain.pem; ssl_certificate_key /var/lib/acme/yggdrasil.li/key.pem; - ''; - appendHttpConfig = '' server { listen *:443 ssl; listen [::]:443 ssl; @@ -150,7 +148,9 @@ in { return 301 https://$host$request_uri; } } + ''; + appendHttpConfig = '' server { listen *:443 ssl; listen [::]:443 ssl; -- cgit v1.2.3