view modules/website/files/php.conf @ 361:5be4616ffca0

Extend the timeout on the php-fpm proxy
author IBBoard <dev@ibboard.co.uk>
date Sat, 17 Oct 2020 14:00:31 +0100
parents ff228d581972
children f22809cba7af
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 timeout=300>
</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>