hackerwgf
6.31D

AWS API Gateway 中集成请求的映射模板无法获取 header X-Real-IP

  •  
  •   hackerwgf ·
    PRO
    ·
    hackerwgf · Nov 29, 2017 · 3309 views
    This topic created in 3112 days ago, the information mentioned may be changed or developed.
    阿里云服务器上配置了 nginx 反代,指向 aws 的一个接口,但是这个接口却无法通过映射模板获取 header 值 X-Real-IP
    nginx 已设置 proxy_set_header X-Real-IP $remote_addr
    有 v 友遇到类似的情况嘛?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3709 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 00:49 · PVG 08:49 · LAX 17:49 · JFK 20:49
    ♥ Do have faith in what you're doing.