Tool Overview
This tool is designed for users who need to migrate their websites from Apache to Nginx, and can automatically convert the following: - **Pseudo-static rules**: Convert Apache'sRewriteRule
conversion to Nginx'srewrite
directives - **Redirection Configuration**: support for 301/302 jumps, domain forwarding and other rules conversion - **Basic Authentication**: converts theAuthType Basic
and other access control configurations - **Environment variables**: handleSetEnvIf
Apache-specific syntax Instructions for use
1. Paste the content: Copy the content of an existing .htaccess file into the input box 2. Automatic conversion: The system generates the corresponding Nginx configuration on-the-fly 3. Manual optimisation: Check for special rules (e.g. regular expression differences) 4. Apply configuration: Adding the results to the Nginx server block Cautions
- Some Apache-specific directives may need to be manually adjusted - It is recommended to test all the URLs after conversion to see if they jump normally - For complex rules, please refer to the Nginx official documentation for secondary verification Support batch conversion, compatible with the default pseudo-static rules of most common CMS (such as WordPress, Joomla, etc.).