nginx.ccWeb server troubleshooting desk

nginx config linter: check nginx.conf for common mistakes

Paste nginx.conf to catch missing semicolons, unbalanced braces, missing Host header, server_tokens, weak TLS, alias slash traversal, add_header inheritance and more.

What it checks

Missing semicolons, unbalanced braces, unclosed quotes; proxy_pass without Host / X-Forwarded-For; proxy_pass to localhost; server_tokens; weak ssl_protocols / ssl_ciphers; obsolete ssl on and listen … http2; HTTPS without HTTP/2; certificate without ssl on listen; alias slash traversal and regex alias; root in location /; add_header inheritance and missing always; if inside location; fastcgi without SCRIPT_FILENAME or try_files; WebSocket without proxy_http_version 1.1; client_max_body_size; user root; autoindex; duplicate upstream / limit_req_zone / log_format names and repeated directives; no dotfile block; listen … http3; ssl_stapling that no longer works with Let's Encrypt; obsolete headers such as X-XSS-Protection and interest-cohort; weak Referrer-Policy; gzip without gzip_vary; DHE suites without dhparam.

FAQ

Does the linter replace nginx -t?

No. It is a static check for configs that pass syntax but are risky (add_header inheritance, alias traversal, missing Host header…); syntax and module availability still need nginx -t on the server.

Is the pasted config stored?

No. It is analysed in that request only, never stored, and the result page is not cached.