Submitted by fathomssen on Mon, 04/09/2018 - 01:04
When cloning a server that uses PHP-FPM, the port number is not amended for the new server.
For example, if I have the following PHP-FPM configuration in my Apache config, the port number will not change although the new server should use another port.
<FilesMatch \.php$>
SetHandler proxy:fcgi://localhost:8029
</FilesMatch>
OR
ProxyPassMatch ^/(.*.php(/.*)?)$ fcgi://localhost:8012/home/xxx/public_html/public/$1
For the time being, I wrote a script for my customer which he has to call after cloning a server that extracts the correct port number from /etc/webmin/virtual-server/domains/...
and writes it into the Apache config file.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Mon, 04/09/2018 - 22:47 Comment #1
Thanks, this looks like a bug - I'll update this ticket when it's fixed.
Submitted by JamieCameron on Wed, 04/11/2018 - 19:34 Comment #2
This will be fixed in the next Virtualmin release.
Submitted by IssueBot on Thu, 10/11/2018 - 20:07 Comment #3
Automatically closed - issue fixed for 2 weeks with no activity.