Edit Nginx configuration files with IDE-native highlighting, completion, navigation, validation, and structure view in IntelliJ IDEA, PyCharm, WebStorm, PhpStorm, GoLand, and other JetBrains IDEs.
Install from JetBrains Marketplace · Read the Nginx validation guide · Report an issue
- Syntax highlighting for directives, variables, strings, comments, and regular expressions
- Directive completion with basic context filtering
- Basic validation for unknown directives and common structural errors
- Navigation from
includepaths to referenced files - Structure view for
server,location,upstream, and other blocks - Code folding for configuration blocks
- Recognition of
nginx.conf,mime.types,fastcgi_params,*.conf,*.nginx, and related files - Highlighting inside Lua block directives when a compatible Lua plugin is installed
Editor assistance catches mistakes while the configuration is still in context. It does not replace
testing the deployment-shaped configuration with nginx -t before a reload.
This repository contains the source for the free Nginx Configuration plugin.
Nginx Configuration Pro adds deeper inspections and security
analysis, context-aware completion, cross-file navigation and refactoring, live templates, support
for custom and third-party directives, and IDE-managed nginx -t validation using a local Nginx
binary or a running Docker container.