diff 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
line wrap: on
line diff
--- a/modules/website/files/conf.extra/html-php.conf	Sat Oct 03 19:33:11 2020 +0100
+++ b/modules/website/files/conf.extra/html-php.conf	Sat Oct 03 19:41:25 2020 +0100
@@ -10,5 +10,5 @@
 	#If we're doing HTML files as PHP then swap the priority for directory indexing
 	DirectoryIndex /index.html /index.php
 
-	SetHandler "proxy:fcgi://localhost:9000"
+	SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost/"
 </FilesMatch>