Mercurial > repos > other > Puppet
view modules/website/files/php.conf @ 358:6c29af16b177
Fix PHP-as-html file serving
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 03 Oct 2020 19:41:25 +0100 |
parents | ff228d581972 |
children | 5be4616ffca0 |
line wrap: on
line source
# # The following lines prevent .user.ini files from being viewed by Web clients. # <Files ".user.ini"> Require all denied </Files> <Proxy "fcgi://localhost/" enablereuse=on max=50> </Proxy> <FilesMatch "\.php$"> # Don't wrap in an <IfModule> because we'd rather it failed SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost/" </FilesMatch>