[BlueOnyx:27219] fpmPort mismatch between vsite and its subdomain AGAIN
Tomohiro Hosaka
bokutin at gmail.com
Tue Aug 27 14:58:05 -05 2024
Hello.
If I change the PHP version of one of the virtual sites, the
subdomains are inaccessible.
/var/log/httpd/error_log
[Wed Aug 28 04:22:23.341056 2024] [proxy_fcgi:error] [pid 133540]
[client XX.XX.XXX.XX:40265] AH01079: failed to make connection to
backend: 127.0.0.1"
Check the configuration file. conf.d/subdomains/*.conf has not been changed.
/etc/httpd/conf/vhosts/site28
<Proxy "fcgi://127.0.0.1:9015" retry=0>
/etc/httpd/conf.d/subdomains/site28-SUB.DOMAIN.TLD.conf
<Proxy "fcgi://127.0.0.1:9013" retry=0>
/etc/php-fpm.d/site28.conf
listen = 127.0.0.1:9015
My guess.
conf/vhosts/*.conf and /etc/php-fpm*/site*.conf are rewritten by
/usr/sausalito/handlers/base/apache/virtual_host.pl.
But conf.d/subdomains/*.conf is only written once by subdomain-new.pl
and is not properly rewritten when the port is changed?
my $fpmPort = find_fpm_port($subdomain->{'group'});
Since the fpmPort may be changed, wouldn't conf.d/subdomains/*.conf
need to be properly reflected as well?
This problem continues in my production environment.
Thanks,
More information about the Blueonyx
mailing list