Erros de NginxErro
no resolver defined to resolveno resolver defined to resolve — No DNS Resolver Configured
Nginx needs to resolve a hostname but no DNS resolver is configured.
nginxserver
Ver detalhes bind() to 0.0.0.0:80 failed (98: Address already in use)Nginx cannot bind to the requested address and port.
Another process (Apache, another Nginx instance, or another service) is already listening on the same port.
Find the conflicting process with ss -tlnp or netstat -tlnp. Stop the conflicting process or change Nginx's listen port.
# Find process using port 80
sudo lsof -i :80
sudo ss -tlnp | grep :80
# Stop conflicting service
sudo systemctl stop apache2no resolver defined to resolveNginx needs to resolve a hostname but no DNS resolver is configured.
connect() failed (111: Connection refused)Nginx could not connect to the upstream server.
could not build server_names_hashNginx cannot build the server names hash table.
no live upstreams while connecting to upstreamAll upstream servers in the pool are marked as unavailable.
496 SSL Certificate RequiredA client certificate is required but was not provided.
414 URI Too LongThe request URI exceeds the maximum length Nginx will process.