From 4dfabd555d669885b09f63d83b5bfb2a41bb2466 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 16 Mar 2017 15:03:15 +0100 Subject: AppRoot --- custom/ymir-nginx.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'custom') 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 { auth_basic_user_file /srv/www/bragi/htpasswd; proxy_pass http://bragi.asgard.yggdrasil/; + + location /bar { + proxy_set_header AppRoot "https://$host/bar.ymir"; + } } } ''; -- cgit v1.2.3