add lektor to IPv6 enabled apps
This commit is contained in:
parent
bf03e1497d
commit
5d3717dfb4
1 changed files with 16 additions and 2 deletions
|
@ -17,7 +17,7 @@ various applications.
|
|||
|
||||
## nginx
|
||||
|
||||
The web server nginx by default only listens to IPv4 if you use
|
||||
The web server [nginx](https://nginx.org/) by default only listens to IPv4 if you use
|
||||
the standard `listen *:80;` directive. To enable IPv6, use
|
||||
`listen [::]:80;`. So for a dual stack server, your configuration
|
||||
could look as follows:
|
||||
|
@ -36,7 +36,8 @@ server {
|
|||
|
||||
## haproxy
|
||||
|
||||
There are various interesting configuration options in HAProxy related
|
||||
There are various interesting configuration options in
|
||||
[HAProxy](https://www.haproxy.org/) related
|
||||
to IPv6. Let's have a look at each of them!
|
||||
|
||||
To enable IPv6 transport for the local logging, use `log [::1]` in the
|
||||
|
@ -97,6 +98,19 @@ backend httpsipv6
|
|||
server twitter.com ipv4@twitter.com
|
||||
```
|
||||
|
||||
## Lektor
|
||||
|
||||
The static CMS lektor by default serves on IPv4. To serve on IPv6
|
||||
localhost use `-h ::1`, to be globally reachable use `-h ::`.
|
||||
|
||||
```
|
||||
# Serve on IPv6 localhost
|
||||
% lektor serve -h ::1
|
||||
|
||||
# Serve on IPv6 (globally reachable)
|
||||
% lektor serve -h ::
|
||||
```
|
||||
|
||||
|
||||
## Other applications
|
||||
|
||||
|
|
Loading…
Reference in a new issue