summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-09 22:10:16 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-09 22:10:16 +0100
commitdc35d6f401e0906efcd51ce9306d63a69a9ee561 (patch)
tree3790f958c5ab45600a82cec64dc95080cd0f1d6e
parent5f7dfe0b58e961d4f798691e6067d61e44460470 (diff)
downloadnixos-dc35d6f401e0906efcd51ce9306d63a69a9ee561.tar
nixos-dc35d6f401e0906efcd51ce9306d63a69a9ee561.tar.gz
nixos-dc35d6f401e0906efcd51ce9306d63a69a9ee561.tar.bz2
nixos-dc35d6f401e0906efcd51ce9306d63a69a9ee561.tar.xz
nixos-dc35d6f401e0906efcd51ce9306d63a69a9ee561.zip
IPv6 needs brackets
-rw-r--r--bragi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/bragi.nix b/bragi.nix
index 987a83d6..7e29ec43 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -339,7 +339,7 @@ in rec {
339 server_name _; 339 server_name _;
340 340
341 location /thermoprint/api/ { 341 location /thermoprint/api/ {
342 proxy_pass http://::1:8080/; 342 proxy_pass http://[::1]:8080/;
343 proxy_http_version 1.1; 343 proxy_http_version 1.1;
344 proxy_set_header Upgrade $http_upgrade; 344 proxy_set_header Upgrade $http_upgrade;
345 proxy_set_header Connection "upgrade"; 345 proxy_set_header Connection "upgrade";