赞
踩
server {
#listen 80 ;
listen 443 ssl;
server_name wx;
ssl_certificate /usr/local/nginx/cert/4237704_wx.frcsys.cn.pem; #证书
ssl_certificate_key /usr/local/nginx/cert/4237704_wx.frcsys.cn.key; #证书
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://127.0.0.1:8099;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。