diff options
Diffstat (limited to 'bragi.nix')
-rw-r--r-- | bragi.nix | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 | ''; |