I have Nginx v.1.17.3 running in a Docker container to act as a load balancer. While I have gotten it to work in the past with a different version, I have not done it recently with this version. The default.conf file of this Nginx instance has the following content: server { listen 80; server_name localhost; #charset koi8-r; #access_log /var/log/nginx/host.access.log main;by volleyball - How to...
In default.conf I created a upstream backed {} section. For some servers I have used a weight=3. For these same servers, can I configure a max_fails= or fail_timeout= setting? Whenever I try both weight=3 and a max_fails or fail_timemout separate only by a space after the number "3", the Docker container will not start again. Is there a way to reconcile this and use a weight settingby volleyball - How to...