summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-16 20:39:14 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-16 20:39:14 +0100
commitd1b9fc284619911a6c8d27441548a2a58aca9be6 (patch)
treefc556f8909900d3abe67ea1b3215343921559d86
parentf632a7cf5878e9710da88d7ae827c7f9405f0f45 (diff)
downloadnixos-d1b9fc284619911a6c8d27441548a2a58aca9be6.tar
nixos-d1b9fc284619911a6c8d27441548a2a58aca9be6.tar.gz
nixos-d1b9fc284619911a6c8d27441548a2a58aca9be6.tar.bz2
nixos-d1b9fc284619911a6c8d27441548a2a58aca9be6.tar.xz
nixos-d1b9fc284619911a6c8d27441548a2a58aca9be6.zip
Slashes are _not_ evil
-rw-r--r--bragi.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/bragi.nix b/bragi.nix
index 49e3358d..b9a51443 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -372,14 +372,14 @@ in rec {
372 server_name _; 372 server_name _;
373 373
374 location /thermoprint/api/ { 374 location /thermoprint/api/ {
375 proxy_pass http://[::1]:8080; 375 proxy_pass http://[::1]:8080/;
376 proxy_http_version 1.1; 376 proxy_http_version 1.1;
377 proxy_set_header Upgrade $http_upgrade; 377 proxy_set_header Upgrade $http_upgrade;
378 proxy_set_header Connection "upgrade"; 378 proxy_set_header Connection "upgrade";
379 } 379 }
380 380
381 location /thermoprint/ { 381 location /thermoprint/ {
382 proxy_pass http://localhost:8081; 382 proxy_pass http://localhost:8081/;
383 } 383 }
384 384
385 location /bar/ { 385 location /bar/ {