diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 20:39:14 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-16 20:39:14 +0100 |
commit | d1b9fc284619911a6c8d27441548a2a58aca9be6 (patch) | |
tree | fc556f8909900d3abe67ea1b3215343921559d86 | |
parent | f632a7cf5878e9710da88d7ae827c7f9405f0f45 (diff) | |
download | nixos-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.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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/ { |