把此项放到server里面
server {
listen 8020;
server_name "127.0.0.1";
root /kingdee/www/;
#Open underscores_in_headers
underscores_in_headers on;
peoxy_redirecoff; off;
include conf.d/*.conf;
}
重点在开启443服务里增加以下两项:
proxy_set_header X-Forwarded-Proto https;
proxy_redirect ;
backend zhihuiserver
server nginx 192.168.240.6:8075 maxconn 50000 check
阅读(2171) | 评论(0) | 转发(0) |