15 lines
316 B
Plaintext
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"
|
|
|