This commit is contained in:
zino
2023-12-05 19:06:51 +01:00
parent 65c9b0224a
commit de88a941c8

View File

@@ -24,16 +24,17 @@ server {
resolver 127.0.0.11;
set $upstream "code-server:8443";
proxy_pass http://$upstream;
proxy_http_version 1.1;
#proxy_set_header Host $host;
#proxy_set_header Upgrade $http_upgrade;
#proxy_set_header Accept-Encoding gzip;
#proxy_set_header Connection upgrade;
#proxy_headers_hash_max_size 512;
#proxy_headers_hash_bucket_size 128;
#proxy_read_timeout 3600;
#proxy_set_header Host $http_host; # vouch: be sure to pass the original host header
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Accept-Encoding gzip;
proxy_set_header Connection upgrade;
proxy_headers_hash_max_size 512;
proxy_headers_hash_bucket_size 128;
proxy_read_timeout 3600;
proxy_set_header Host $http_host; # vouch: be sure to pass the original host header
proxy_pass http://$upstream;
}
}