|
|
@@ -1,16 +1,18 @@
|
|
|
-; origin-src: deb/php-fpm/dummy.conf
|
|
|
+; origin-src: deb/templates/web/php-fpm/default.tpl
|
|
|
+;#=========================================================================#
|
|
|
+;# Default Web Domain Template #
|
|
|
+;# DO NOT MODIFY THIS FILE! CHANGES WILL BE LOST WHEN REBUILDING DOMAINS #
|
|
|
+;# https://hestiacp.com/docs/server-administration/web-templates.html #
|
|
|
+;#=========================================================================#
|
|
|
|
|
|
-[wwww]
|
|
|
-listen = /run/php/php%backend_version%-fpm.dummy.sock
|
|
|
+
|
|
|
+
|
|
|
+[www]
|
|
|
+listen = /run/php/php%backend_version%-fpm-%domain%.sock
|
|
|
listen.owner = hestiamail
|
|
|
-listen.group = hestiamail
|
|
|
+listen.group = www-data
|
|
|
listen.mode = 0660
|
|
|
|
|
|
-;"hestiamail" user created to prevent users from abusing this config
|
|
|
user = hestiamail
|
|
|
group = hestiamail
|
|
|
|
|
|
-pm = ondemand
|
|
|
-pm.max_children = 4
|
|
|
-pm.max_requests = 4000
|
|
|
-pm.process_idle_timeout = 10s
|