How to add custom Apache/nginx configuration for a domain in Plesk

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