Nginx Configuration

Compatible with IntelliJ IDEA (Ultimate, Community), Android Studio and 16 more
Screenshot 1
Screenshot 2

IDE Plugin for Nginx Configuration Files

Designed for working with Nginx configuration files, our plugin offers a comprehensive set of features to enhance your workflow.

Plugin functionality update

Standard directives remain free, while support for custom directives is available in the Pro version.

The Pro version will receive updates and new features more frequently than the free version.

    What's included in the Pro version:
  • Support for custom directives.
  • Advanced inspections.
  • Priority updates and new features.

Key Features:

  • Syntax highlighting: Clear and convenient work with Nginx configurations.
  • Directive auto-completion: Speeds up the editing process.
  • File navigation: Simplifies transitions between related files.
  • Lua block syntax highlighting: Requires an installed Lua syntax support plugin.
  • File structure display: Intuitive tool window for structure overview.
  • Comment and uncomment actions: Convenient commands for code management.

More info

Your ratings and feedback are very important. The feature will appear the faster the more people request it.

What’s New

2024.5 (December, 3, 2024)
* Enhanced directive support:
- Full support for map directive configuration and validation
- Improved autocompletion for map parameters
- Added validation for map block values
- Support for include files within map blocks
- Added new inspection for validating Nginx directive values
* Added new features:
- Full support for Lua blocks in configuration
- Enhanced SSL configuration handling
- Added support for geo blocks for geolocation
- Expanded support for conditional expressions (if)
* Editor improvements:
- Enhanced syntax highlighting for strings, braces, and values
- Special highlighting for Lua code blocks
- Smarter autocompletion for all directives
- Enhanced configuration file navigation
- More precise syntax validation
- Better support for nested blocks
- Improved handling of folding for blocks
* Bug fixes:
- Fixed location blocks processing
- Improved directive modifiers handling
- Fixed parameter values processing
- Fixed include directive paths resolution relative to nginx root directory
- Fixed IDE error when trying to fold empty blocks
- Prevented potential `IllegalArgumentException` in folding regions


2024.4 (November, 28, 2024)
* Full support for all Lua block directives in Nginx configuration parsing
* Added support for new Nginx 1.27.3 configuration syntax:
- `resolve` parameter in `upstream` server directive
- `resolver` and `resolver_timeout` directives in `upstream` block
- New `proxy_pass_trailers` directive
* Security updates: Disabled TLSv1 and TLSv1.1 protocols by default across modules
- Updated SSL/TLS protocols to TLSv1.2 and TLSv1.3 in:
* HTTP JS module
* Stream Proxy module
* Stream Zone Sync module
* SSL modules for HTTP, Stream, and Mail
* Fixed directive naming in SCGI module:
- Corrected `scgiCacheLockAge` to `scgi_cache_lock_age`
* Enhanced IPv6 address handling in various directives
* Verified compatibility with Nginx 1.27.3
* Fixed lexer and syntax highlighting for Lua block directives with parameters
* Improved parsing of `set_by_lua_block` and similar Lua directives


2024.3 (May, 30, 2024)
* Add `ngx_stream_pass_module` to directives


See the full change notes on the github
Jan 05, 2025
Version 2024.5.1

Getting Started

Does not require additional settings.

Rating & Reviews

4.8
15 Ratings (871,247 Downloads)
5
4
3
2
1

cyclosa

22.07.2024

Nice plugin but looks like do not support these block: init_by_lua_block, init_worker_by_lua_block, header_filter_by_lua_block, body_filter_by_lua_block, log_by_lua_block. We really need these...

+1

Linn-cn

23.10.2023

Does it support formatting?

+1

Gerry

13.11.2022

Very good work, syntax highlight is useful.

+2

Additional Information

Vendor:
meanmail.dev(Non-trader)
Plugin ID:
dev.meanmail.plugin.nginx-intellij-plugin