Skip to content

Commit a2af94c

Browse files
committed
disable compression for tunnel (handled by caddy)
1 parent 93cd966 commit a2af94c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

nginx/provider/provider.template.conf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,9 @@ server {
2424
proxy_pass $backend;
2525
proxy_http_version 1.1;
2626

27-
# Disable buffering and gzip for WebSocket connections
27+
# Disable buffering for WebSocket connections
2828
# This ensures the 101 Switching Protocols response is sent immediately
2929
proxy_buffering off;
30-
gzip off;
31-
32-
# Strip Content-Encoding header from upstream 101 responses
33-
# Some backends (CasaOS) incorrectly include this header
34-
proxy_hide_header Content-Encoding;
3530

3631
# WebSocket support
3732
set $connection_upgrade '';

0 commit comments

Comments
 (0)