summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-03-31 22:25:47 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-03-31 22:25:47 +0200
commit8ab8e0b3feec36122c7026bc40aed026cc24dc2f (patch)
treef5863656a24589ac404a651ae7515cbb87d709ea /custom
parent6cdb7b764a8b19eaf2227e7229e05122a435fe38 (diff)
downloadnixos-8ab8e0b3feec36122c7026bc40aed026cc24dc2f.tar
nixos-8ab8e0b3feec36122c7026bc40aed026cc24dc2f.tar.gz
nixos-8ab8e0b3feec36122c7026bc40aed026cc24dc2f.tar.bz2
nixos-8ab8e0b3feec36122c7026bc40aed026cc24dc2f.tar.xz
nixos-8ab8e0b3feec36122c7026bc40aed026cc24dc2f.zip
...
Diffstat (limited to 'custom')
-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;