I have Froxlor installed on the server, and it's working fine. Now I wanted to run php-fpm inside a docker container and have that be accessed for a specific domain. So far my efforts seem to be ignored though. I tried using ProxyPassMatch and SetHandler in the domain's vhost settings.
but neither seems to really work. When I access the domain, just the normal PHP executable runs, instead of the php-fpm one inside the Docker container. On my old server I used a dockerized nginx with the dockerized php-fpm container, but figured I'd keep Froxlor's non-dockerized apache now. Is that not possible, or am I doing something wrong?
How to use a dockerized php-fpm?
in General Discussion
Posted
Hi,
I have Froxlor installed on the server, and it's working fine. Now I wanted to run php-fpm inside a docker container and have that be accessed for a specific domain. So far my efforts seem to be ignored though. I tried using ProxyPassMatch and SetHandler in the domain's vhost settings.
Specifically:
and
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9001/app/public/$1
but neither seems to really work. When I access the domain, just the normal PHP executable runs, instead of the php-fpm one inside the Docker container. On my old server I used a dockerized nginx with the dockerized php-fpm container, but figured I'd keep Froxlor's non-dockerized apache now. Is that not possible, or am I doing something wrong?