hackerwgf
6.31D

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

  •  
  •   hackerwgf ·
    PRO
    ·
    hackerwgf · Nov 29, 2017 · 3356 views
    This topic created in 3135 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   ·   1151 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 23:08 · PVG 07:08 · LAX 16:08 · JFK 19:08
    ♥ Do have faith in what you're doing.