doc: nginx config: document ipv4 and ipv6 listen directives
This commit is contained in:
parent
61f0c4b679
commit
a5e9f2d6c9
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue