force /phpMyAdmin to use default fpm

This commit is contained in:
Matthew Saunders Brown 2022-07-18 19:05:51 -07:00
parent 5ac4e936f7
commit 3b1ba93156

View File

@ -10,3 +10,10 @@ SetExternalAuthMethod pwauth pipe
AuthExternal pwauth AuthExternal pwauth
Require valid-user Require valid-user
</Location> </Location>
# this is to force the default fpm, so we don't end up trying to use a virtualhosts jailed fpm which won't work
<Directory "/srv/www/html/phpMyAdmin">
<FilesMatch ".+\.ph(ar|p|tml)$">
SetHandler "proxy:unix:/run/php/php7.4-fpm.sock|fcgi://localhost"
</FilesMatch>
</Directory>