Jump to content
Froxlor Forum

tkwci

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by tkwci

  1. 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:

    <FilesMatch ".php$"> 
       SetHandler "proxy:fcgi://127.0.0.1:9001"          
    </FilesMatch>

    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?

×
×
  • Create New...