Submitted by Baterka on Fri, 09/28/2018 - 09:37
Clean Virtualmin (LEMP) installation. When you change Default root directory in Nginx Virtual Server configuration to something different than /home//public_html, php (fcgi) stop working on website because these lines not change in configuration file of given Virtual Server:
fastcgi_param SCRIPT_FILENAME /home//public_html$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT /home//public_html;
Seems as bug to me, because when you change these lines manually accordingly to change of Default root directory, everything work as expected
Status:
Active
Comments
Submitted by Baterka on Fri, 09/28/2018 - 09:38 Comment #1
Submitted by Baterka on Fri, 09/28/2018 - 09:38 Comment #2
Submitted by JamieCameron on Sun, 09/30/2018 - 20:30 Comment #3
That's odd, as the code should already update those paths.
Is the actual home directory
/home//public_html
, or is it really/home/somedomain/public_html
?