diff options
-rw-r--r-- | custom/ymir-nginx.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 4f8a5489..854dd4d4 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -191,7 +191,7 @@ in { | |||
191 | server { | 191 | server { |
192 | listen *:80; | 192 | listen *:80; |
193 | listen [::]:80; | 193 | listen [::]:80; |
194 | server_name ~^(.*\.)?bragi\.(yggdrasil\.li|141\.li)$; | 194 | server_name ~^(.*\.)?odin\.(yggdrasil\.li|141\.li)$; |
195 | 195 | ||
196 | include ${acme}; | 196 | include ${acme}; |
197 | 197 | ||
@@ -203,13 +203,13 @@ in { | |||
203 | server { | 203 | server { |
204 | listen *:443 ssl; | 204 | listen *:443 ssl; |
205 | listen [::]:443 ssl; | 205 | listen [::]:443 ssl; |
206 | server_name ~^(.*\.)?bragi\.(yggdrasil\.li|141\.li)$; | 206 | server_name ~^(.*\.)?odin\.(yggdrasil\.li|141\.li)$; |
207 | 207 | ||
208 | location / { | 208 | location / { |
209 | auth_basic "Reverse proxy to bragi"; | 209 | auth_basic "Reverse proxy to odin"; |
210 | auth_basic_user_file /srv/www/bragi/htpasswd; | 210 | auth_basic_user_file /srv/www/odin/htpasswd; |
211 | 211 | ||
212 | proxy_pass http://bragi.asgard.yggdrasil/; | 212 | proxy_pass http://odin.asgard.yggdrasil/; |
213 | } | 213 | } |
214 | } | 214 | } |
215 | 215 | ||