NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
foreverdk
V2EX  ›  NGINX

为什么 nginx 转发链接不成功,报 500 错误

  •  
  •   foreverdk · Jan 9, 2019 · 2281 views
    This topic created in 2713 days ago, the information mentioned may be changed or developed.
    server
    {
    listen 7005;
    server_name abc.com;

    location / {
    proxy_set_header Host $host:$proxy_port;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_pass http://xxx.abc.com/abc/xyz.do; (该原地址点击有个?goto=http%3A%2F%2F 跳转)
    }
    }
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5560 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 08:58 · PVG 16:58 · LAX 01:58 · JFK 04:58
    ♥ Do have faith in what you're doing.