diff modules/website/files/php-fpm-www.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 da783c06ab40
line wrap: on
line diff
--- a/modules/website/files/php-fpm-www.conf	Sat Oct 03 19:33:11 2020 +0100
+++ b/modules/website/files/php-fpm-www.conf	Sat Oct 03 19:41:25 2020 +0100
@@ -389,6 +389,7 @@
 ; Note: set an empty value to allow all extensions.
 ; Default Value: .php
 ;security.limit_extensions = .php .php3 .php4 .php5 .php7
+security.limit_extensions = .php .html
 
 ; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
 ; the current environment.