Files
docker-php-alpine/apache-phpfpm.conf
2025-08-30 18:55:04 +00:00

15 lines
316 B
Plaintext

# JASNĚ definovaný kořen
DocumentRoot "/var/www/html"
<Directory "/var/www/html">
AllowOverride All
Require all granted
</Directory>
# PHP má přednost
DirectoryIndex index.php index.html
# Předáme FPMu plnou cestu k .php
ProxyPassMatch "^/(.*\.php(/.*)?)$" "fcgi://127.0.0.1:9000/var/www/html/$1"