mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-08-03 17:59:24 -04:00
docs(admin/environments): Prefer IPv6 over IPv4 for apache2 listener directive (#628)
Signed-off-by: Lothar Serra Mari <mail@serra.me>
This commit is contained in:
parent
372b797f64
commit
ad09f82c3c
@ -120,6 +120,14 @@ Make sure to add a separate configuration file for the listener on port 3001:
|
|||||||
```text
|
```text
|
||||||
# /etc/httpd/conf.d/listener-3001.conf
|
# /etc/httpd/conf.d/listener-3001.conf
|
||||||
|
|
||||||
|
Listen [::1]:3001
|
||||||
|
```
|
||||||
|
|
||||||
|
In case you are running an IPv4-only system, use the following configuration instead:
|
||||||
|
|
||||||
|
```text
|
||||||
|
# /etc/httpd/conf.d/listener-3001.conf
|
||||||
|
|
||||||
Listen 127.0.0.1:3001
|
Listen 127.0.0.1:3001
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user