• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question plesk running nginx (which settings/configs do what?)

larryk

Regular Pleskian
hello... this has been one LONG learning process and maybe this is the final exam? LOL

note: this is all meant to be "Plesk Defaults" --- no custom config, except where noted

1) to run nginx (besides installing it, etc), use either one of these settings
on PHP settings page: use FPM application by apache
or FPM application by nginx

** one puts nginx as primary, the other as secondary? is that correct? OR did I already flunk my exam by asking a wrong question?

2) on the apache and nginx settings page, there are 3 check boxes:
- proxy mode = check, it uses apache. UNchecked, it is all nginx
- smart static files = check, static files servered by nginx and apache gets the rest?
- serve static files = similar to above but you get to specific which is which?

** what happens when you use "FPM application by apache" and UNcheck proxy mode?

3) the real reason for this post:
HOW do you run a .html page with php code on it via all nginx?
basically, FPM application by nginx, with proxy mode off.

answer = you can't by default?
or answer = you can but you need to add directives to allow for it?


So as you can tell -- i've only learned enough to be dangerous and/or ask more questions :)


so while I LOVE the push button settings, checkboxes, etc. and ease of use to add directives...
it seems to me: if there was a section that said this type of info... EVERYone would be happier (and less confused)

if you want to run _____ and have these types of page _____ you need to have these settings _____.

for example:
If you want to run [ nginx/apache/both ] and have these page extensions [.php/.html/etc], you need to do this: list out what config/settings/checks need to be done.

or any extra directive, since the default can't handle it.

:)
 
Back
Top