MAx Web Server version 1.3-14/15 delivers significant improvements to Apache-to-NGINX conversion accuracy, configuration processing, and system stability. This update focuses on enhancing compatibility and ensuring higher reliability in production environments.
The development team has implemented comprehensive Apache configuration syntax support alongside critical bug fixes for logging and configuration processing. Our commitment to data-driven development continues with improved conversion accuracy and enhanced system performance.
This release includes numerous individual improvements to the Apache-to-NGINX conversion engine, representing the most comprehensive enhancement to date.
Limit Directive Implementation: Added comprehensive support for Apache's <Limit> directive using NGINX's limit_except functionality. This enables proper HTTP method restrictions with access control, supporting configurations like <Limit GET POST> with allow/deny rules, <Limit PUT DELETE> for write operation restrictions, and complex method combinations for fine-grained access control.
SetEnv Directive Enhancements: Improved SetEnv directive processing to handle edge cases including single-argument usage (SetEnv TZ) and proper environment variable configuration in NGINX contexts. Fixed parsing errors that occurred with incomplete SetEnv declarations.
Conditional Processing Support: Implemented comprehensive <If>, <ElseIf>, and <Else> block processing with proper nested scoping. Previously, nested If blocks were processed independently; now inner conditions are only evaluated when parent conditions are true.
RemoveHandler Support: Added support for Apache RemoveHandler directive
Core Flag Implementation: Enhanced support for critical Apache RewriteRule flags:
RewriteRule Inheritance: Fixed rewrite rule inheritance issues that were causing incorrect rule processing across location blocks.
Query String Handling: Resolved RewriteRule query string preservation issues with QSA flag implementation.
RewriteRule Environment Variable Support: Added comprehensive support for Apache compression environment variables set by RewriteRule [E=...] flag, automatically translating them to appropriate NGINX directives. The conversion engine now properly handles no-gzip and no-brotli settings with full compatibility for existing Apache configurations.
Enhanced gzip Directive Precedence: Modified gzip_on_exts and gzip_off_exts directives to take precedence over gzip_types, ensuring file extension-based compression control overrides MIME type settings. This fixes scenarios where compression settings were incorrectly applied based on content type rather than explicit extension rules.
Content-Encoding Detection Improvements: Fixed Content-Encoding detection by file extension in the ngx_http_cl_add_encoding_module, resolving issues where files with non-standard extensions received incorrect Content-Type headers (previously defaulting to text/plain).
Negative Pattern Support: Fixed processing of negative RewriteRule patterns (!.*index.html$). The converter now properly handles inverted regex matching that was previously causing rule skips.
Backreference Processing: Enhanced RewriteCond backreference support (%1, %2, etc.) in pattern matching, resolving issues where multiple configurations were generating "invalid conditions" errors.
Access Control Order Processing: Fixed critical issues with Order deny,allow and Order allow,deny directives where NGINX previously processed rules incorrectly. The deny/allow statements are now properly sequenced at the end of location blocks to match Apache behavior.
Query String and URL Processing:
Variable Matching: Updated varmatch implementation to properly run access directives in the access phase, ensuring correct Apache behavior emulation.
Multiple matching blocks: Improved support for the multiple matching blocks without location requirements in NGINX configuration. Added arbitrary variable matching support, creating fast-performance alternative to NGINX's if"
HTTP_HOST Normalization: Corrected existing processing to properly normalize HTTP_HOST values for consistent handling.
FilesMatch Processing:
Directory Operations:
Header Processing Enhancements:
IPv6 Support Enhancement: Fixed behavior differences between Apache and NGINX IPv6 processing. NGINX now properly handles both IPv4 and IPv6 connections with explicit listen configurations, ensuring consistent REMOTE_ADDR behavior and proper allow/deny rule processing.
PHP Processing Improvements:
Skip and Control Flow Processing:
System Reliability Improvements
Update to the following package versions for optimal performance:
Complete changelog details are available at changelog.cloudlinux.com/max_webserver
MAx Web Server is currently in Beta but the comprehensive conversion improvements in this release represent a significant step toward our goal of seamless Apache-to-NGINX migration. With enhanced configuration syntax support, improved configuration processing, and robust system reliability, MAx Web Server continues targeting Q1 2026 for production status.
Our extensive Apache compatibility improvements enable successful conversion of complex hosting configurations while maintaining identical behavior between Apache and NGINX environments. This approach greatly improves conversion success rates across diverse hosting scenarios.
MAx Web Server is free with CloudLinux OS as standard, and we update it regularly. For installation instructions and technical documentation, visit docs.cloudlinux.com/cloudlinuxos/max_webserver/
Thank you for choosing CloudLinux OS!