Mercurial > repos > other > Puppet
comparison modules/website/files/conf.extra/html-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 | aad5c00b0525 |
children | f22809cba7af |
comparison
equal
deleted
inserted
replaced
357:ff228d581972 | 358:6c29af16b177 |
---|---|
8 AddType text/html .html | 8 AddType text/html .html |
9 | 9 |
10 #If we're doing HTML files as PHP then swap the priority for directory indexing | 10 #If we're doing HTML files as PHP then swap the priority for directory indexing |
11 DirectoryIndex /index.html /index.php | 11 DirectoryIndex /index.html /index.php |
12 | 12 |
13 SetHandler "proxy:fcgi://localhost:9000" | 13 SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost/" |
14 </FilesMatch> | 14 </FilesMatch> |