summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/ymir-nginx.nix4
1 files changed, 2 insertions, 2 deletions
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 {
121 121
122 ssl_certificate /var/lib/acme/yggdrasil.li/fullchain.pem; 122 ssl_certificate /var/lib/acme/yggdrasil.li/fullchain.pem;
123 ssl_certificate_key /var/lib/acme/yggdrasil.li/key.pem; 123 ssl_certificate_key /var/lib/acme/yggdrasil.li/key.pem;
124 '';
125 124
126 appendHttpConfig = ''
127 server { 125 server {
128 listen *:443 ssl; 126 listen *:443 ssl;
129 listen [::]:443 ssl; 127 listen [::]:443 ssl;
@@ -150,7 +148,9 @@ in {
150 return 301 https://$host$request_uri; 148 return 301 https://$host$request_uri;
151 } 149 }
152 } 150 }
151 '';
153 152
153 appendHttpConfig = ''
154 server { 154 server {
155 listen *:443 ssl; 155 listen *:443 ssl;
156 listen [::]:443 ssl; 156 listen [::]:443 ssl;