From 52f26078e59e211cc173b9334c7343188e8667e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Thu, 26 Apr 2018 13:58:03 +0200 Subject: [PATCH] [Update] Fix PHP-FPM ports for existing non-mailcow Nginx sites --- update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update.sh b/update.sh index c6d29680..557f11a4 100755 --- a/update.sh +++ b/update.sh @@ -211,6 +211,10 @@ echo -e "Fixing project name... " sed -i 's#COMPOSEPROJECT_NAME#COMPOSE_PROJECT_NAME#g' mailcow.conf sed -i '/COMPOSE_PROJECT_NAME=/s/-//g' mailcow.conf +echo -e "Fixing PHP-FPM worker ports for Nginx sites..." +sed -i 's#9000#9002#g' data/conf/nginx/*.conf +sed -i 's#9000#9002#g' data/conf/nginx/*.custom + echo -e "\e[32mStarting mailcow...\e[0m" sleep 2 docker-compose up -d --remove-orphans