I am running docker-nginx on an ECS server. My nginx service stops abruptly because the proxy_path of one of the servers is unavailable. The error is as follows:
[emerg] 1#1: host not found in upstream "dev-example.io" in /etc/nginx/conf.d/default.conf:988
My configuration file looks like this:
server { listen 80; server_name test.com; location / { proxy_pass http://dev-exapmle.io:5016/; proxy_redirect off;
I have many servers in the configuration file, even if one server does not work, I need to run nginx. Is there any way to fix this?
Any suggestion to fix this problem would be appreciated.
source share