server {
listen 8443;
server_name paycenter.hubs1.net;
ssl on;
ssl_certificate myserver.pem;
ssl_certificate_key key.key;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
root html;
index index.html index.htm;
proxy_pass http://paycentertest;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
listen 8443;
server_name paycenter.hubs1.net;
ssl on;
ssl_certificate myserver.pem;
ssl_certificate_key key.key;
ssl_session_timeout 5m;
ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
root html;
index index.html index.htm;
proxy_pass http://paycentertest;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
版权所有:《太阳花工作室》 => 《nginx接入https关键配置》
本文地址:http://bg.artuion.com/linux/189.html
除非注明,文章均为 《太阳花工作室》 原创,欢迎转载!转载请注明本文地址,谢谢。