summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/bragi.nix b/bragi.nix
index e6aac8a4..75d09b65 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -382,8 +382,12 @@ in rec {
382 } 382 }
383 383
384 location /bar/ { 384 location /bar/ {
385 map $http_AppRoot $approot {
386 default $http_AppRoot;
387 '' $host/bar;
388 }
385 proxy_pass http://[::1]:8082; 389 proxy_pass http://[::1]:8082;
386 proxy_set_header Host $host; 390 proxy_set_header AppRoot $approot;
387 } 391 }
388 } 392 }
389 ''; 393 '';