summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-16 20:04:29 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-16 20:04:29 +0100
commitf632a7cf5878e9710da88d7ae827c7f9405f0f45 (patch)
tree72765e7c8fcb448ef69ef925243d81111091eed4 /bragi.nix
parent8768241c7d935cc5cc866a1054a688cc37356cc9 (diff)
downloadnixos-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.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/bragi.nix b/bragi.nix
index 4b8d5c29..49e3358d 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -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 '';