We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5eb6ea commit b993aa6Copy full SHA for b993aa6
bin/v-rebuild-web-domains
@@ -67,6 +67,17 @@ if [ ! -z "$PROXY_SYSTEM" ]; then
67
fi
68
69
70
+# Create dummy php-fpm configs if missing
71
+for php_folder in /etc/php/*; do
72
+ [ ! -d "${php_folder}/fpm/pool.d/" ] && continue
73
+
74
+ v_php="$(basename $php_folder)"
75
+ if [ ! -f "/etc/php/${v_php}/fpm/pool.d/dummy.conf" ]; then
76
+ cp -f "$HESTIA_INSTALL_DIR/php-fpm/dummy.conf" "/etc/php/${v_php}/fpm/pool.d/"
77
+ sed -i "s/9999/99${v_php//.}/g" "/etc/php/${v_php}/fpm/pool.d/dummy.conf"
78
+ fi
79
+done
80
81
# Deleting backend configs
82
if [ ! -z "$WEB_BACKEND" ]; then
83
if [ "$WEB_BACKEND_POOL" = 'user' ]; then
0 commit comments