1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00
ContextOS/etc/conf/location.conf
2022-03-15 20:49:53 +08:00

25 lines
599 B
Plaintext

ssl_session_cache shared:SSL:1m;
ssl_session_timeout 30m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
client_max_body_size 100m;
location / {
proxy_pass http://127.0.0.1:9020;
proxy_set_header X-HOST $scheme://$host;
proxy_set_header X-Real-Port $remote_port;
proxy_set_header X-Real-IP $remote_addr;
}
location /space/ {
proxy_pass http://127.0.0.1:9020;
proxy_set_header X-HOST $scheme://$host;
proxy_set_header X-Real-Port $remote_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}