summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-16 17:29:28 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-16 17:29:28 +0100
commitdced397f2fec389769e9d11963246bf919c9ea6d (patch)
tree83302f6d91f44ae4d8685b2ca2ac086352b0a64f /bragi.nix
parentc8f5fe9cc585849921c7f79b29fd50c74e5d67e8 (diff)
downloadnixos-dced397f2fec389769e9d11963246bf919c9ea6d.tar
nixos-dced397f2fec389769e9d11963246bf919c9ea6d.tar.gz
nixos-dced397f2fec389769e9d11963246bf919c9ea6d.tar.bz2
nixos-dced397f2fec389769e9d11963246bf919c9ea6d.tar.xz
nixos-dced397f2fec389769e9d11963246bf919c9ea6d.zip
Does proxy_set_header just set a default?
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/bragi.nix b/bragi.nix
index 6f0062d2..36ac556b 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -382,12 +382,8 @@ 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 }
389 proxy_pass http://[::1]:8082; 385 proxy_pass http://[::1]:8082;
390 proxy_set_header AppRoot $approot; 386 proxy_set_header AppRoot $host/bar;
391 } 387 }
392 } 388 }
393 ''; 389 '';