diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-08 19:17:24 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-09-08 19:17:24 +0200 |
commit | 4791176260943ae67bebab9ec5da52cbabf15d0f (patch) | |
tree | be574336c14e534e635eadf623594806f989f204 /custom | |
parent | f3dc8d273140c0297c5c9c6737ae95db3e7c8507 (diff) | |
download | nixos-4791176260943ae67bebab9ec5da52cbabf15d0f.tar nixos-4791176260943ae67bebab9ec5da52cbabf15d0f.tar.gz nixos-4791176260943ae67bebab9ec5da52cbabf15d0f.tar.bz2 nixos-4791176260943ae67bebab9ec5da52cbabf15d0f.tar.xz nixos-4791176260943ae67bebab9ec5da52cbabf15d0f.zip |
...
Diffstat (limited to 'custom')
-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 | ||