From c870568211284ebb042cfd88cf854901fe4390b8 Mon Sep 17 00:00:00 2001 From: Alparslan Date: Wed, 15 Jun 2022 15:02:27 +0300 Subject: [PATCH] Update firststeps-disable_ipv6.en.md nginx, dovecot and php-fpm config files fixes --- .../firststeps-disable_ipv6.en.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/post_installation/firststeps-disable_ipv6.en.md b/docs/post_installation/firststeps-disable_ipv6.en.md index fc8ab8f74..139079b30 100644 --- a/docs/post_installation/firststeps-disable_ipv6.en.md +++ b/docs/post_installation/firststeps-disable_ipv6.en.md @@ -80,4 +80,17 @@ Restart Postfix: ``` docker compose restart postfix-mailcow -``` \ No newline at end of file +``` + +**5.** if your docker daemon completly disable ipv6 + +fix nginx, dovecot and php-fpm config files too + +``` +sed -i '/::/d' data/conf/nginx/listen_* +sed -i '/::/d' data/conf/nginx/templates/listen* +sed -i 's/,\[::\]//g' data/conf/dovecot/dovecot.conf +sed -i 's/\[::\]://g' data/conf/nginx/dynmaps.conf +sed -i 's/\[::\]://g' data/conf/phpfpm/php-fpm.d/pools.conf +``` +