Nginx-foutenFout
invalid PID numberinvalid PID number — Invalid PID File
The Nginx PID file contains an invalid process ID.
nginxserver
Details bekijken no resolver defined to resolveNginx needs to resolve a hostname but no DNS resolver is configured.
The proxy_pass or upstream block uses a hostname, but Nginx has no resolver directive to perform DNS lookups.
Add resolver 8.8.8.8; (or your DNS server) in the http, server, or location block. Use static IP addresses in upstream blocks.
# Add resolver directive
resolver 8.8.8.8 8.8.4.4 valid=300s;
resolver_timeout 5s;invalid PID numberThe Nginx PID file contains an invalid process ID.
504 Gateway TimeoutNginx timed out waiting for a response from the upstream server.
worker_connections are not enoughThe Nginx worker process has reached its maximum number of connections.
upstream sent too big header while reading response header from upstreamThe upstream server sent response headers larger than Nginx's buffer.
414 URI Too LongThe request URI exceeds the maximum length Nginx will process.
open() failed (2: No such file or directory)Nginx cannot find the requested file.