Nginx https 及反向代理设置
https 设置
泛域名: w.skiy.net
多个 三级域名均使用同一配置信息
反向代理设置
location / {
proxy_pass http://127.0.0.1:39002;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $http_host;
}
include wildcard/w.skiy.net.conf;