Mercurial > repos > other > Puppet
view modules/website/files/conf.extra/html-php.conf @ 157:c6b1b42f3e4b puppet-3.6
Move all sites to separate LetsEncrypt certs to make adding future domains easier
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 30 Mar 2017 20:41:18 +0100 |
parents | 5967c1b18860 |
children | aad5c00b0525 |
line wrap: on
line source
# Make sure we have PHP Include conf.extra/php.conf <IfModule php7_module> # # Cause the PHP interpreter to handle files with a .html extension. # AddHandler php7-script .html AddType text/html .html #If we're doing HTML files as PHP then swap the priority for directory indexing DirectoryIndex index.html index.php </IfModule> <IfModule !php7_module> <FilesMatch "\.html$"> Require all denied </FilesMatch> </IfModule>