server {
listen 192.168.0.248:8097 ssl;
server_name localhost;
ssl_certificate 4112513_shsp.kingyi.net.pem;
ssl_certificate_key 4112513_shsp.kingyi.net.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_set_header Host $Host;
proxy_set_header X-Forward-For $remote_addr;
proxy_pass http://192.168.0.75:9521;
}
location /interface {
proxy_set_header Host $Host;
proxy_set_header X-Forward-For $remote_addr;
proxy_pass http://192.168.0.248:8762/;
}
#location /vueph {
# root html/;
# index index.html index.htm;
#}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
转载请注明原文地址:https://ipadbbs.8miu.com/read-27198.html