nginx代理ip转发

proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

posted @ 2018-04-28 00:01  爱吃醋的工程师  阅读(240)  评论(0编辑  收藏  举报