Merge pull request #801 from mailcow/disable-ipv6-update
Update instructions for disabling IPv6 in nginx
This commit is contained in:
commit
4e029bb987
2 changed files with 44 additions and 12 deletions
|
@ -116,11 +116,27 @@ Starten Sie Postfix neu:
|
|||
|
||||
**5.** Wenn im Docker Daemon IPv6 komplett deaktiviert ist:
|
||||
|
||||
Folgende NGINX, Dovecot und Php-fpm Konfigurationsdateien anpassen
|
||||
Folgende Dovecot und Php-fpm Konfigurationsdateien anpassen
|
||||
|
||||
```
|
||||
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/phpfpm/php-fpm.d/pools.conf
|
||||
```
|
||||
|
||||
**6.** IPv6 Listener für NGINX deaktivieren
|
||||
|
||||
Setze `DISABLE_IPv6=y` in der Datei `mailcow.conf`.
|
||||
|
||||
Damit diese Änderung wirksam wird, muss der Container `nginx-mailcow` neu erstellt werden.
|
||||
|
||||
=== "docker compose (Plugin)"
|
||||
|
||||
``` bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
=== "docker-compose (Standalone)"
|
||||
|
||||
``` bash
|
||||
docker-compose up -d
|
||||
```
|
||||
|
|
|
@ -116,12 +116,28 @@ Restart Postfix:
|
|||
|
||||
**5.** If your docker daemon completly disabled IPv6:
|
||||
|
||||
Fix the following NGINX, Dovecot and php-fpm config files
|
||||
Fix the following Dovecot and php-fpm config files
|
||||
|
||||
```
|
||||
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/phpfpm/php-fpm.d/pools.conf
|
||||
```
|
||||
|
||||
**6.** Disable IPv6 listeners for NGINX
|
||||
|
||||
Set `DISABLE_IPv6=y` in `mailcow.conf`
|
||||
|
||||
For this change to be effective, you need to recreate the `nginx-mailcow` Container
|
||||
|
||||
=== "docker compose (Plugin)"
|
||||
|
||||
``` bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
=== "docker-compose (Standalone)"
|
||||
|
||||
``` bash
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue