forked from x/ContextOS
32 lines
605 B
Plaintext
32 lines
605 B
Plaintext
ssl_session_timeout 30m;
|
|
ssl_session_cache shared:SSL:1m;
|
|
|
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
|
ssl_prefer_server_ciphers on;
|
|
|
|
client_max_body_size 100m;
|
|
client_body_timeout 300s;
|
|
|
|
client_body_in_file_only clean;
|
|
client_body_buffer_size 16K;
|
|
client_body_temp_path /tmp/nginx/client_body_temp;
|
|
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:9020;
|
|
include headers.conf;
|
|
}
|
|
|
|
location /x/ {
|
|
proxy_pass http://127.0.0.1:9030;
|
|
include headers.conf;
|
|
}
|
|
|
|
location /space/ {
|
|
proxy_pass http://127.0.0.1:9020;
|
|
proxy_set_header Connection "upgrade";
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
include headers.conf;
|
|
}
|
|
|