server {
listen 80; listen 443; server_name www.baidu.com alias ; ssl_certificate D:/UPUPW_NP5.6/Nginx/conf/ssl/www.baidu.com.crt; ssl_certificate_key D:/UPUPW_NP5.6/Nginx/conf/ssl/www.baidu.com.key; ssl_session_timeout 5m; ssl_protocols SSLv2 SSLv3 TLSv1; ssl_ciphers HIGH:!aNULL:!MD5; ssl_prefer_server_ciphers on; if ($scheme = http) { return 301 https://$host$request_uri; } location / { proxy_pass http://rate.trimusco.com/; include uproxy.conf; } } #server www.baidu.com end} 不好用啊! |
|
最新喜欢:zzls66... |
沙发#
发布于:2019-08-24 19:39
listen 443 ssl;
|
|