我现在有一台nginx代理服务器192.168.0.211
后面代理一台web网站192.168.0.100(web配置文件里需要调用验证服务器192.168.0.200,验证成功后返回给100)
现在我访问nginx192.168.0.211后会跳到100然后跳到200让我输入用户名和密码,输入完密码后就不动了,不往100上跳转。。。必须得在url手动敲一下回车才跳转
然后我直接访问192.168.0.100就啥毛病都没有,加上nginx代理就不行。
贴一下我的nginx配置,没啥毛病啊。
server {
listen 80;
server_name 192.168.0.211;
location / {
proxy_pass http://192.168.0.100:8100;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
access_log /var/log/nginx/access.log main;
#sendfile on;
#tcp_nopush on;
#keepalive_timeout 65;
#gzip on;
#include /etc/nginx/conf.d/*.conf;
}
哪位大神能帮我看一下,可以加我QQ99874618,不胜感激。