nginx配置文件 server { listen 8443; server_name it.net.cn; 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; } } (责任编辑:IT) |