mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt nginx
This commit is contained in:
parent
1f016f1b3e
commit
2227a60b77
@ -12,16 +12,19 @@ client_body_buffer_size 16K;
|
|||||||
client_body_temp_path /tmp/nginx/client_body_temp;
|
client_body_temp_path /tmp/nginx/client_body_temp;
|
||||||
|
|
||||||
|
|
||||||
proxy_set_header X-HOST $scheme://$http_host;
|
|
||||||
proxy_set_header X-Real-Port $remote_port;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:9020;
|
proxy_pass http://127.0.0.1:9020;
|
||||||
|
proxy_set_header X-HOST $scheme://$http_host;
|
||||||
|
proxy_set_header X-Real-Port $remote_port;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location /space/ {
|
location /space/ {
|
||||||
proxy_pass http://127.0.0.1:9020;
|
proxy_pass http://127.0.0.1:9020;
|
||||||
|
proxy_set_header X-HOST $scheme://$http_host;
|
||||||
|
proxy_set_header X-Real-Port $remote_port;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user