Spaces:
Sleeping
Sleeping
MZhao
commited on
Update README.md (#51)
Browse files
README.md
CHANGED
@@ -138,6 +138,8 @@ server {
|
|
138 |
proxy_set_header Host $host;
|
139 |
proxy_set_header X-Real-IP $remote_addr;
|
140 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
|
141 |
proxy_max_temp_file_size 0;
|
142 |
client_max_body_size 10m;
|
143 |
client_body_buffer_size 128k;
|
|
|
138 |
proxy_set_header Host $host;
|
139 |
proxy_set_header X-Real-IP $remote_addr;
|
140 |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
141 |
+
proxy_set_header Upgrade $http_upgrade; # Websocket配置
|
142 |
+
proxy_set_header Connection $connection_upgrade; #Websocket配置
|
143 |
proxy_max_temp_file_size 0;
|
144 |
client_max_body_size 10m;
|
145 |
client_body_buffer_size 128k;
|