This commit is contained in:
zino
2023-12-05 23:43:05 +01:00
parent 50467139ab
commit 81c1465902
3 changed files with 17 additions and 17 deletions

View File

@@ -78,14 +78,14 @@ server {
resolver 127.0.0.11;
set $upstream "http://code-server:8443";
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_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_pass $upstream;
}