diff options
| -rw-r--r-- | bragi.nix | 4 | ||||
| -rw-r--r-- | custom/ymir-nginx.nix | 4 |
2 files changed, 8 insertions, 0 deletions
| @@ -385,6 +385,10 @@ in rec { | |||
| 385 | proxy_set_header AppRoot "http://$host/bar"; | 385 | proxy_set_header AppRoot "http://$host/bar"; |
| 386 | proxy_pass http://[::1]:8082/; | 386 | proxy_pass http://[::1]:8082/; |
| 387 | } | 387 | } |
| 388 | |||
| 389 | location /bar.ymir/ { | ||
| 390 | proxy_pass http://[::1]:8082; | ||
| 391 | } | ||
| 388 | } | 392 | } |
| 389 | ''; | 393 | ''; |
| 390 | }; | 394 | }; |
diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 94e6f1ed..b2ab4b69 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix | |||
| @@ -161,6 +161,10 @@ in { | |||
| 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 | } | ||
| 164 | } | 168 | } |
| 165 | } | 169 | } |
| 166 | ''; | 170 | ''; |
