summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-08-03 13:48:26 +0200
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-08-03 13:48:26 +0200
commitb15357e42953541800f754eaf4659d75185f25fc (patch)
treec124d5db26a29b987f1cb38f3be6b6546799ca75 /bragi.nix
parent4fafa3da97be71c53807ff70cd8faeb987d933e8 (diff)
downloadnixos-b15357e42953541800f754eaf4659d75185f25fc.tar
nixos-b15357e42953541800f754eaf4659d75185f25fc.tar.gz
nixos-b15357e42953541800f754eaf4659d75185f25fc.tar.bz2
nixos-b15357e42953541800f754eaf4659d75185f25fc.tar.xz
nixos-b15357e42953541800f754eaf4659d75185f25fc.zip
allow nginx to websocket
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/bragi.nix b/bragi.nix
index a464166c..e819aa3c 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -375,6 +375,9 @@ in rec {
375 375
376 location /thermoprint/api/ { 376 location /thermoprint/api/ {
377 proxy_pass http://localhost:8080/; 377 proxy_pass http://localhost:8080/;
378 proxy_http_version 1.1;
379 proxy_set_header Upgrade $http_upgrade;
380 proxy_set_header Connection "upgrade";
378 } 381 }
379 382
380 location /thermoprint/ { 383 location /thermoprint/ {