Plesk for Linux
kb: how-to
Applicable to:
- Plesk for Linux
Question
How to keep .htaccess rules after switching PHP handler from Apache to nginx?
Answer
Prior to switching to nginx:
- Log in to Plesk as admin user
- Install htaccess-to-nginx converter extension: How to install Plesk extension
- Go to Domains > example.com > Apache & nginx Settings > Additional nginx directives and click a link as below:
- Insert the content of
.htaccess
file and press Convert to nginx button - Click OK to save the changes
Comments
0 comments
Please sign in to leave a comment.