doc: nginx config: document ipv4 and ipv6 listen directives

This commit is contained in:
nodiscc 2020-08-24 21:33:53 +02:00
parent 61f0c4b679
commit a5e9f2d6c9

View file

@ -263,7 +263,10 @@ server {
} }
server { server {
listen 443 ssl; # ipv4 listening port/protocol
listen 443 ssl http2;
# ipv6 listening port/protocol
listen [::]:443 ssl http2;
server_name shaarli.mydomain.org; server_name shaarli.mydomain.org;
root /var/www/shaarli.mydomain.org; root /var/www/shaarli.mydomain.org;