nginx 配置文件如下
server { listen 80; server_name jwch.dashuang.name; location /{ proxy_pass http://210.44.176.132; proxy_redirect off; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for; } }
首页可以正常访问,但是登陆进去的时候,显示
proxy_redirect off;
把这行去掉试试
Object moved to here 那个链接指到哪里了?
建议set header Host...