- Added a language matching subcondition (based on the
Accept-Languageheader). - Added support for custom MIME types for static file serving.
- Added support for dynamic content compression.
- Added support for HTTP/2-only (and gRPC over plain text) backend servers.
- Added support for sending PROXY protocol headers to backend servers when acting as a reverse proxy.
- Added support for setting constants inside conditions.
- Added support for specifying custom directory index files.
- Added support for using snippets inside conditions.
- Configuration validation and module loading error messages now also report in what block did the error occur.
- Corrected the configuration validation for
cgi_interpreterdirective. - Fixed access logs wrongly written to global log files instead of host-specific ones.
- Fixed bug preventing some configuration properties in
error_configblocks from being applied. - The
blockandallowdirectives (used for access control) are no longer global-only. - The server now disables HTTP/2 for backend servers when
proxy_http2directive is used, and the request containsUpgradeheader. - The server now removes
Forwardedheader before sending requests to backend servers as a reverse proxy.