diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-09 22:10:16 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-03-09 22:10:16 +0100 |
commit | dc35d6f401e0906efcd51ce9306d63a69a9ee561 (patch) | |
tree | 3790f958c5ab45600a82cec64dc95080cd0f1d6e | |
parent | 5f7dfe0b58e961d4f798691e6067d61e44460470 (diff) | |
download | nixos-dc35d6f401e0906efcd51ce9306d63a69a9ee561.tar nixos-dc35d6f401e0906efcd51ce9306d63a69a9ee561.tar.gz nixos-dc35d6f401e0906efcd51ce9306d63a69a9ee561.tar.bz2 nixos-dc35d6f401e0906efcd51ce9306d63a69a9ee561.tar.xz nixos-dc35d6f401e0906efcd51ce9306d63a69a9ee561.zip |
IPv6 needs brackets
-rw-r--r-- | bragi.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; |