Nginx directives do not appear in domain's Nginx configuration file on Plesk server

Follow

Comments

2 comments

  • Avatar
    Markus (Edited )

    Hi Dinara & all support team members,

    I use Plesk Onyx 17.8.11 #2 on Ubuntu 16.04.4. Websites running under nginx-only mode with self-compiled nginx 1.13.10, PHP 7.2.3 served by nginx too.

    I've read that it is NOT necessary any longer to enable the option "Serve static files directly by nginx" if you don't use Apache! For the reason that if you disable Apache in the first option, there is no possibility that any files could be served by nginx from the point of logic. Enabling 1st option makes the 3rd obsolet.

    Or am I wrong? From the built-structure/development of Plesk, it could be perhaps possible to better enable the 3rd option (serving static files directly by nginx).

    This question is very important for me and all who use nginx-only. Thanks for the great support from all of you and the best PLESK ever!

    Greets

    0
    Comment actions Permalink
  • Avatar
    Pavel Rozental

    Hello Markus,

    > Or am I wrong?
    You re right. We have an article about this case: https://support.plesk.com/hc/en-us/articles/115004345354-Should-Serve-static-files-directly-by-nginx-option-be-enabled-if-only-nginx-is-used-on-the-domain-

    Also below article can be interesting for you:
    https://support.plesk.com/hc/en-us/articles/115003047793

    > From the built-structure/development of Plesk, it could be perhaps possible to better enable the 3rd option (serving static files directly by nginx).

    Please provide this suggestion on https://plesk.uservoice.com/forums/184549-feature-suggestions 

    Thank you.

    1
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request