21 lines
No EOL
669 B
Text
21 lines
No EOL
669 B
Text
<VirtualHost *:443>
|
|
Protocols h2 h2c http/1.1
|
|
ServerAdmin digital@ldc.fr
|
|
DocumentRoot /app${DOCUMENTROOT}
|
|
DirectoryIndex index.php index.html
|
|
|
|
# Anciennement activé par défaut via le module d'apachemod_proxy_fcgi,
|
|
# sur alpine, on doit l'écrire (php-fpm sur le port 9000).
|
|
<FilesMatch "\.php$">
|
|
SetHandler "proxy:fcgi://127.0.0.1:9000"
|
|
</FilesMatch>
|
|
|
|
<Directory /app${DOCUMENTROOT}>
|
|
Options +MultiViews -Indexes +FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
ErrorLog /app/logs/error_${PROJECT}.log
|
|
CustomLog /app/logs/access_${PROJECT}.log combined
|
|
</VirtualHost> |