Description
A typo in nginx.conf means downtime. Nginx Configuration Pro catches misconfigurations as you type — so you ship with confidence, not anxiety. Validates 1090+ directives, navigates complex multi-file configs, and provides one-click fixes for common issues.
Catch Errors Before They Reach Production
- 27 inspections with 26 quick fixes — wrong contexts, invalid parameters, missing semicolons, undefined upstreams, SSL best practices, expanded security audit checks, performance checks, ReDoS detection, and more. One-click fixes for common issues.
- Run
nginx -tfrom the IDE — the Nginx Operations tool window validates every nginx root config in your project against a local nginx binary or any running Docker container, shows results in a per-root tree with clickable error hyperlinks, and switches environments from a single selector. - Context-aware autocomplete — suggests only directives valid in the current block. Completes upstream names in
proxy_pass, paths ininclude, and variable names. - Quick documentation — hover over any directive or variable to see its description, allowed contexts, and a link to official nginx docs.
Navigate and Refactor with Confidence
- Go to Definition — Ctrl+Click on
includepaths, upstream names, variables, and named locations. Supports glob patterns in includes. - Find Usages — see where any upstream, variable, or named location is referenced across your project.
- Rename — rename upstreams, variables, and named locations with automatic reference updates across all config files.
- Safe Delete — checks usages before removing upstreams or files.
- Breadcrumbs — always see where you are:
http > server > location /api.
Write Configs Faster
- 30+ live templates — type
proxy+ Tab for a reverse proxy block,ssl+ Tab for SSL config. Covers WebSocket, PHP-FPM, static files, CORS, rate limiting, caching, and more. - Intentions — extract blocks to include files, inline includes, convert listen to IPv6, add SSL redirects — all via Alt+Enter.
- Code formatting — reformat entire configs with column alignment in
map,geo, andtypesblocks.
Beyond Standard Nginx
- Custom directives — define your own directives with allowed contexts and parameter descriptions. Share definitions with your team via Settings > Tools > Nginx Custom Directives.
- Docker support — recognizes
*.conf.templatefiles with${VARNAME}envsubst placeholders. - Third-party modules — OpenResty (Lua, Echo, Headers More), Brotli, MaxMind GeoIP2.
- Lua blocks — syntax highlighting inside
content_by_lua_blockand similar directives (requires a Lua plugin).
Getting Started
- Install the plugin and open any
.confornginx.conffile — inspections and autocomplete work immediately - Open the Nginx Operations tool window and click Validate to run
nginx -ton every root config — pick a local binary or a running Docker container in the environment selector - Try Ctrl+Click on an
includepath or upstream name to navigate - Type
proxy+ Tab inside alocationblock to insert a reverse proxy template
Links
User Reviews
Resolved
try_files $uri =404; plugin define it as mistake , NginxTokenType.CONCAT_JOIN, NginxTokenType.LBRACE or NginxTokenType.SEMICOLON expected, got ' = '