How to add domain specific Apache or nginx directives to web server configuration file on Plesk for Linux




  • 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. 

  • Avatar
    Nikolay Zhmuk

    2 Martin

    The article has been updated with actual information.

  • Avatar
    Marco Marsala

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

  • Avatar
    Ivan Postnikov

    @Marco Marsala


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

    Values of these directives may be found in Apache documentation.

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

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

Please sign in to leave a comment.

Have more questions? Submit a request