Skip to content

Commit 4bf5ca1

Browse files
authored
feat: Update localhost.conf
1 parent 8c1d206 commit 4bf5ca1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

v2node/localhost.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ server {
77
proxy_pass http://127.0.0.1:4433;
88
# https://github.com/nginx/nginx/blob/release-1.28.0/src/http/modules/ngx_http_proxy_module.c#L293
99
proxy_http_version 1.1;
10+
proxy_set_header Upgrade $http_upgrade;
11+
proxy_set_header Connection "upgrade";
1012
proxy_set_header Host $http_host;
1113
proxy_set_header X-Real-IP $remote_addr;
1214
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)