]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
doc: nginx config: document ipv4 and ipv6 listen directives
authornodiscc <nodiscc@gmail.com>
Mon, 24 Aug 2020 19:33:53 +0000 (21:33 +0200)
committernodiscc <nodiscc@gmail.com>
Sat, 12 Sep 2020 12:31:45 +0000 (14:31 +0200)
doc/md/Server-configuration.md

index bad00ac5edbdbce0d5843338760ce987cfb7956c..297d7c291e83c0b024137f16f614676a769f1aaa 100644 (file)
@@ -263,7 +263,10 @@ 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;
     root         /var/www/shaarli.mydomain.org;