On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at Plesk 360 (formerly known as My Plesk) please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

How to keep .htaccess rules after switching PHP handler from Apache to nginx in Plesk?



1 comment

  • Avatar
    Mark Abrams

    your extension converter chokes on htaccess to nginx conversion for 404

    # Custom error docs
    ErrorDocument 404 /404-page-not-found.htm

    Can you respond with the nginx directive for 404?

    can you guys provide a shortlist of  top 10 nginx directives that work on Plesk?


    404, 301

    extensionless  htm, html, php

    rewrite domain.index   to domain only

    #Header append Cache-Control "public"
    # ExpiresActive Off
    # Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
    # Header set Pragma "no-cache"

    # Enable ETags
    FileETag MTime Size

    Nginx directives 

    CentOS Linux 7.9.2009 (Core)
    Plesk Obsidian
    Version 18.0.33 Update #1, last updated on Feb 26, 2021 03:12 AM
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request