location /gateway/{
proxy_set_header AppKey 32445436234543647; # 自定义请求头keyid
proxy_set_header blankTile false; # 自定义请求头keyid
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass https://api.xxx.cn/gateway/;
}
nginx 配置请求头
最新推荐文章于 2024-07-22 13:56:58 发布