Welcome! Log In Create A New Profile

Advanced

Nginx Load Balancing repsond 404

梁维伟
January 09, 2020 08:50AM
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;

}



}

}_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx Load Balancing repsond 404

梁维伟 January 09, 2020 08:50AM

Re: Nginx Load Balancing repsond 404

chateau.Xiao January 14, 2020 07:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready