Nginx Load Balancing repsond 404

梁维伟 15521068423 at 163.com
Thu Jan 9 13:49:42 UTC 2020


Hi.

I have this config below And I requested upstream resource and got 404 response. However, when I modified 'listen 80' to 'listen 8081', I requested upstream resource again, I got 200 response. I wonder why.

Thanks.

 

snippet of my nginx config

http {

 

upstream backend {

 

server IP:10000;

 

server IP:10001;

}

 

server {

listen 80;

 

location / {

proxy_pass http://backend;

}

 

}

}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20200109/0d584cce/attachment-0001.htm>


More information about the nginx mailing list