From 352ec8c92b017d33b25b9c2799b8bacae4cfddc6 Mon Sep 17 00:00:00 2001 From: Daniel Castellanos Date: Tue, 2 Aug 2022 00:15:25 +0000 Subject: [PATCH 1/2] Fixed sed regular expression for disabling ipv6 Running the commands as they were before caused a duplicate "listen" entry in the nginx dynmaps configuration file. Like this: server { listen 8081; listen 8081; ... Causing nginx to reject the configuration and failing to start. --- docs/post_installation/firststeps-disable_ipv6.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/post_installation/firststeps-disable_ipv6.en.md b/docs/post_installation/firststeps-disable_ipv6.en.md index 27336d93d..8c9322486 100644 --- a/docs/post_installation/firststeps-disable_ipv6.en.md +++ b/docs/post_installation/firststeps-disable_ipv6.en.md @@ -89,8 +89,8 @@ Fix the following NGINX, Dovecot and php-fpm config files ``` sed -i '/::/d' data/conf/nginx/listen_* sed -i '/::/d' data/conf/nginx/templates/listen* +sed -i '/::/d' data/conf/nginx/dynmaps.conf 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 ``` From e0096df5f3eb64d10ace4e072d7c53ce221edd2d Mon Sep 17 00:00:00 2001 From: Daniel Castellanos Date: Tue, 2 Aug 2022 00:24:00 +0000 Subject: [PATCH 2/2] Update firststeps-disable_ipv6.de.md --- docs/post_installation/firststeps-disable_ipv6.de.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/post_installation/firststeps-disable_ipv6.de.md b/docs/post_installation/firststeps-disable_ipv6.de.md index b8a2d2070..830fd6398 100644 --- a/docs/post_installation/firststeps-disable_ipv6.de.md +++ b/docs/post_installation/firststeps-disable_ipv6.de.md @@ -89,7 +89,7 @@ Folgende NGINX, Dovecot und Php-fpm Konfigurationsdateien anpassen ``` sed -i '/::/d' data/conf/nginx/listen_* sed -i '/::/d' data/conf/nginx/templates/listen* +sed -i '/::/d' data/conf/nginx/dynmaps.conf 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 -``` \ No newline at end of file +```