diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 16:12:02 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 16:12:02 +0100 |
commit | d78b100ea4e4546f1debe5eddb75bef3cfe631e3 (patch) | |
tree | 07fdc21a6b30d2018f9f31deaad1039940e3727d /custom/ymir-nginx.nix | |
parent | 4dfabd555d669885b09f63d83b5bfb2a41bb2466 (diff) | |
download | nixos-d78b100ea4e4546f1debe5eddb75bef3cfe631e3.tar nixos-d78b100ea4e4546f1debe5eddb75bef3cfe631e3.tar.gz nixos-d78b100ea4e4546f1debe5eddb75bef3cfe631e3.tar.bz2 nixos-d78b100ea4e4546f1debe5eddb75bef3cfe631e3.tar.xz nixos-d78b100ea4e4546f1debe5eddb75bef3cfe631e3.zip |
Are slashes evil?
Diffstat (limited to 'custom/ymir-nginx.nix')
-rw-r--r-- | custom/ymir-nginx.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index b2ab4b69..2639cf07 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
@@ -160,11 +160,7 @@ in { | |||
160 | auth_basic "Reverse proxy to bragi"; | 160 | auth_basic "Reverse proxy to bragi"; |
161 | auth_basic_user_file /srv/www/bragi/htpasswd; | 161 | auth_basic_user_file /srv/www/bragi/htpasswd; |
162 | 162 | ||
163 | proxy_pass http://bragi.asgard.yggdrasil/; | 163 | proxy_pass http://bragi.asgard.yggdrasil; |
164 | |||
165 | location /bar { | ||
166 | proxy_set_header AppRoot "https://$host/bar.ymir"; | ||
167 | } | ||
168 | } | 164 | } |
169 | } | 165 | } |
170 | ''; | 166 | ''; |