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