Is this a substitute for `nginx -t`?
No. It is a basic static checker, so you should still run `nginx -t` on the server.
DevToolkit
Nginx Config Formatter / Basic Checker
Browser only
Paste Nginx config to normalize indentation and surface common reverse proxy and HTTPS issues. This is a basic static checker, not a replacement for nginx -t.
Deep dive
Helpful when you want a fast nginx configuration test before you reload Nginx or put a generated reverse proxy into service.
Overview
It formats Nginx config and flags common reverse-proxy, HTTPS, syntax, and server block issues before you touch a live server.
Input samples
Simple reverse proxy
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://127.0.0.1:3000;
}
}HTTPS server
server {
listen 443 ssl;
server_name app.example.com;
ssl_certificate /etc/ssl/certs/app.crt;
ssl_certificate_key /etc/ssl/private/app.key;
}Proxy headers
location / {
proxy_pass http://app:8080;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}When to use it
Navigation
Keep moving through the collection, workflow, and adjacent tools that usually belong with this page.
Related workflow
Continue with the tool chain that usually goes together here.
Deploy a self-hosted app
Prepare Docker environment files, volume mappings, reverse proxy snippets, and header checks before you ship a service.
Related tools
Open the closest adjacent tools without leaving the current context.
Answers
Is this a substitute for `nginx -t`?
No. It is a basic static checker, so you should still run `nginx -t` on the server.
Does it check every directive?
No. It focuses on common patterns and mistakes that show up in everyday reverse-proxy configs.
Can it help with proxy headers, TLS basics, and syntax checks?
Yes. It is designed to surface those common areas quickly, and it pairs well with the SSL certificate decoder and header tools.
Disclaimer
This is a basic static checker, not a replacement for `nginx -t` or a live test on the server. It cannot fully evaluate included files, runtime upstream behavior, or environment-specific setup, so you should still verify the final config in place.