Hello!
I see some feature request related to that, but not what I was thinking that Virtualmin should have.
In past, I used the Real-Gecko plugin for PHP-FPM and NGINX. With that plugin I was able to change my default template for new virtual servers, by just editing the file: virtualmin-nginx-fpm-lib.pl. Here is the plugin github page: https://github.com/Real-Gecko/virtualmin-nginx-fpm
Now with the official plugin I can't see in that file where to safely edit that template, because the files are progamatically generated...that's not cool, because I'll have to edit every new domain manually, to just set what I want for them.
My request is to make the official plugin more editable and readable for normal users, like the Real-Gecko plugin, or just make one section for template this settings on Servers Template.
I can use the Real-Gecko plugin for that, but that is stoped: 'As soon as official FPM support will become 100% workable I'll drop support of this module.'
Thanks for the atention.
Comments
Submitted by marcelorp on Sun, 10/28/2018 - 10:28 Comment #1
Submitted by menathor on Wed, 03/13/2019 - 09:59 Comment #2
Hi there - any news on this?
Would be really good to be able to alter the template for the default fastcgi_param entries that are created.
Cheers
Submitted by lexo_ch on Fri, 01/08/2021 - 12:34 Pro Licensee Comment #3
I just stumbled over this issue. In the System -> Server Templates -> PHP Options settings I can defined additional FPM pool options (on the bottom). We've set this properly on our server and it works fine for the Apache webserver. Maybe this issue is solved for Nginx also now and this ticket can be closed? I suppose, since PHP-FPM is the same for Apache + NGinx, this should work in both situations.
Submitted by JamieCameron on Sat, 01/09/2021 - 20:56 Comment #4
Yes, it will work for both webserver types.
Submitted by IssueBot on Sat, 01/23/2021 - 20:57 Comment #5
Automatically closed - issue fixed for 2 weeks with no activity.