aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2020-08-24 21:33:53 +0200
committernodiscc <nodiscc@gmail.com>2020-09-12 14:31:45 +0200
commita5e9f2d6c927a3b7e58ac2a0747103634e4394a5 (patch)
tree0625f802f7ecf306187ed52e3e42345c41131761
parent61f0c4b679f49953fa7147772354658a117a54e7 (diff)
downloadShaarli-a5e9f2d6c927a3b7e58ac2a0747103634e4394a5.tar.gz
Shaarli-a5e9f2d6c927a3b7e58ac2a0747103634e4394a5.tar.zst
Shaarli-a5e9f2d6c927a3b7e58ac2a0747103634e4394a5.zip
doc: nginx config: document ipv4 and ipv6 listen directives
-rw-r--r--doc/md/Server-configuration.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/md/Server-configuration.md b/doc/md/Server-configuration.md
index bad00ac5..297d7c29 100644
--- a/doc/md/Server-configuration.md
+++ b/doc/md/Server-configuration.md
@@ -263,7 +263,10 @@ server {
263} 263}
264 264
265server { 265server {
266 listen 443 ssl; 266 # ipv4 listening port/protocol
267 listen 443 ssl http2;
268 # ipv6 listening port/protocol
269 listen [::]:443 ssl http2;
267 server_name shaarli.mydomain.org; 270 server_name shaarli.mydomain.org;
268 root /var/www/shaarli.mydomain.org; 271 root /var/www/shaarli.mydomain.org;
269 272