Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Will nginx route no traffic to an upstream host with weight 0?

From a (fairly cursory) reading of ngx_http_upstream_get_peer it seems nginx will pick a weight=0 server if there is nothing else to pick at all.

Specifically see https://github.com/nginx/nginx/blob/3fae83a91c6e5cda012adf6ee2783273e747f613/src/http/ngx_http_upstream_round_robin.c#L558

Tags:

Nginx

Related

How to cast as ArrayList, preset data in param block, and return as ArrayList? Nginx conflicting server name for subdomain Delete files with logrotate What kinds of security vulnerabilities does providing DNSSEC expose? nginx split large configuration file Exchange 2013 ECP/OWA/Outlook all failing - 503 Service Unavailable logstash failing to parse syslog input Exporting libvirt+KVM virtual machines to files Consumer (or prosumer) SSD's vs. fast HDD in a server environment Copy-item with multiple filter Unable to connect to RDS instance from outside VPC (ERROR 2003 (HY000) Can't connect to MySQL Server) Assign Public IP (not Elastic IP) after instance launched

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy