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 MyPlesk.com/Plesk360/Platform360 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 add domain specific Apache or nginx directives to web server configuration file on Plesk for Linux

Follow

Comments

6 comments

  • Avatar
    Martin Pfeffer (Edited )

    "and/or"-creating a file is strictly related to good old Linux. This OS is a mess. It is just a default situation that I wont find the files, which are covered in all the Linux-tuts.

    However, thanks for the write-up. 

    0
    Comment actions Permalink
  • Avatar
    Nikolay Zhmuk

    2 Martin

    The article has been updated with actual information.

    0
    Comment actions Permalink
  • Avatar
    Marco Marsala

    It is possible to increase LimitRequestLine and LimitRequestFieldSize with these settings?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    @Marco Marsala

    Hello!

    Yes, 'LimitRequestLine' and 'LimitRequestFieldSize' may be adjusted for a domain using this article.

    Values of these directives may be found in Apache documentation.

    0
    Comment actions Permalink
  • Avatar
    Ojomo
    include /var/www/vhosts/domain/httpdocs/hidemywp.conf;
     
    How can i add above directive to a specific domain please.
    0
    Comment actions Permalink
  • Avatar
    Alisa Kasyanova

    @Ojomo
    Go to the Domain > Apache & nginx Settings and paste the directive into Additional nginx directives.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request