I tried to add additional fastcgi params via Virtualmin (NGinx with PHP-FPM). But Virtualmin adds the params to globale site not to the selected URL Path. Please see this video:
https://www.youtube.com/watch?v=2VT67D0hwhk
A second thing is, if you want to change the URL Path, the following error message apears:
"Failed to save location : Nothing entered for field : Default root directory" but the folder is not set by default...
And a third thing is, if you change the url path from ".php$" to "^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+|core/templates/40[34]).php(?:$|/)" as suggested by nextcloud documentation, virtualmin can not determine the PHP mode under "server configuration" --> "Website Options"...
Comments
Submitted by gnilebein on Mon, 04/24/2017 - 01:56 Comment #1
Submitted by JamieCameron on Mon, 04/24/2017 - 23:23 Comment #2
Ok, I see the bug here - this will be fixed in the next release of Virtualmin's Nginx plugin.
Submitted by JamieCameron on Mon, 04/24/2017 - 23:25 Comment #3
Submitted by gnilebein on Tue, 04/25/2017 - 06:26 Comment #4
Are all three problems solved?
Submitted by JamieCameron on Tue, 04/25/2017 - 18:53 Comment #5
Only the first two - the third one is not really solvable, as Virtualmin expects that there is a
location
block that matches ONLY .php files.Submitted by gnilebein on Wed, 04/26/2017 - 08:20 Comment #6
What if you search for the complete proxy_pass string instead of "php" in url path?
Submitted by JamieCameron on Wed, 04/26/2017 - 18:43 Comment #7
Seems like that could match other blocks that setup proxying for non-PHP apps. I'd recommend not following nextcloud's advice in this case.
Submitted by IssueBot on Wed, 05/10/2017 - 18:56 Comment #8
Automatically closed - issue fixed for 2 weeks with no activity.