https://hub.docker.com/_/httpd?tab=tags

docker pull httpd:2.4.50

LoadModule authnz_fcgi_module modules/mod_authnz_fcgi.so
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
LoadModule proxy_module modules/mod_proxy.so

Include conf/extra/httpd-info.conf
Include sites-enabled/*.conf

<IfModule mime_module>
....
    AddType application/x-httpd-php .php
</IfModule>

<FilesMatch \.(php|phar)$>
    SetHandler "proxy:fcgi://php:9001"
</FilesMatch>
  • httpd-info.conf
<Location /kserver-status>
....
    Order Deny,Allow
    Deny from nothing
    Allow from all
</Location>