标签:nginx 代理 real-ip none list bsp blog ddr serve
地址:https://www.cnblogs.com/jiangwangxiang/p/8481661.html
代理服务:
server {
listen 80;
server_name nczfgjj.com www.nczfgjj.com www.nczfgjj.gov.cn zfgjj.nanchong.gov.cn;
access_log /home/www/wsdt.nczfgjj.com/logs/access_log;
charset gbk;
location / {
index index.php index.html index.htm;
fastcgi_index index.php;
proxy_pass http://172.168.10.212:89;
proxy_set_header Host $host;
proxy_set_header Accept-Encoding "none";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Via "nginx";
}
}
标签:nginx 代理 real-ip none list bsp blog ddr serve
原文地址:https://www.cnblogs.com/ztyc/p/10560030.html