diff options
| author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-03 13:48:26 +0200 |
|---|---|---|
| committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2016-08-03 13:48:26 +0200 |
| commit | b15357e42953541800f754eaf4659d75185f25fc (patch) | |
| tree | c124d5db26a29b987f1cb38f3be6b6546799ca75 | |
| parent | 4fafa3da97be71c53807ff70cd8faeb987d933e8 (diff) | |
| download | nixos-b15357e42953541800f754eaf4659d75185f25fc.tar nixos-b15357e42953541800f754eaf4659d75185f25fc.tar.gz nixos-b15357e42953541800f754eaf4659d75185f25fc.tar.bz2 nixos-b15357e42953541800f754eaf4659d75185f25fc.tar.xz nixos-b15357e42953541800f754eaf4659d75185f25fc.zip | |
allow nginx to websocket
| -rw-r--r-- | bragi.nix | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -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/ { |
