diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/ymir-nginx.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index a4a0b492..94e6f1ed 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -142,7 +142,11 @@ in { | |||
142 | listen [::]:80; | 142 | listen [::]:80; |
143 | server_name ~^(.*\.)?bragi\.(yggdrasil\.li|141\.li)$; | 143 | server_name ~^(.*\.)?bragi\.(yggdrasil\.li|141\.li)$; |
144 | 144 | ||
145 | return 301 https://$host$request_uri; | 145 | include ${acme}; |
146 | |||
147 | location / { | ||
148 | return 301 https://$host$request_uri; | ||
149 | } | ||
146 | } | 150 | } |
147 | 151 | ||
148 | server { | 152 | server { |