diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 20:04:29 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 20:04:29 +0100 |
commit | f632a7cf5878e9710da88d7ae827c7f9405f0f45 (patch) | |
tree | 72765e7c8fcb448ef69ef925243d81111091eed4 /bragi.nix | |
parent | 8768241c7d935cc5cc866a1054a688cc37356cc9 (diff) | |
download | nixos-f632a7cf5878e9710da88d7ae827c7f9405f0f45.tar nixos-f632a7cf5878e9710da88d7ae827c7f9405f0f45.tar.gz nixos-f632a7cf5878e9710da88d7ae827c7f9405f0f45.tar.bz2 nixos-f632a7cf5878e9710da88d7ae827c7f9405f0f45.tar.xz nixos-f632a7cf5878e9710da88d7ae827c7f9405f0f45.zip |
Approot setting for bar
Diffstat (limited to 'bragi.nix')
-rw-r--r-- | bragi.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -313,6 +313,7 @@ in rec { | |||
313 | PORT = "8082"; | 313 | PORT = "8082"; |
314 | HOST = "::1"; | 314 | HOST = "::1"; |
315 | TPRINT_BASEURL = "http://localhost:80/thermoprint/api"; | 315 | TPRINT_BASEURL = "http://localhost:80/thermoprint/api"; |
316 | APPROOT = "/bar"; | ||
316 | }; | 317 | }; |
317 | requires = [ "postgresql.service" ]; | 318 | requires = [ "postgresql.service" ]; |
318 | wantedBy = [ "default.target" ]; | 319 | wantedBy = [ "default.target" ]; |
@@ -383,7 +384,6 @@ in rec { | |||
383 | 384 | ||
384 | location /bar/ { | 385 | location /bar/ { |
385 | proxy_pass http://[::1]:8082/; | 386 | proxy_pass http://[::1]:8082/; |
386 | proxy_set_header AppRoot $scheme://$host/bar; | ||
387 | } | 387 | } |
388 | } | 388 | } |
389 | ''; | 389 | ''; |