nginx踩过的坑

proxy_set_header子模块会覆盖全局的设置;

1.高德广告接口没有x-forwarded-for;

由于业务proxy_set_header 指令错误地设置在了 location配置块中,导致了全局proxy_set_header 指令失效

posted @ 2020-03-26 19:22  大米粒汪汪叫  阅读(146)  评论(0编辑  收藏  举报