diff options
author | nodiscc <nodiscc@gmail.com> | 2020-08-24 21:33:53 +0200 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2020-09-12 14:31:45 +0200 |
commit | a5e9f2d6c927a3b7e58ac2a0747103634e4394a5 (patch) | |
tree | 0625f802f7ecf306187ed52e3e42345c41131761 /doc | |
parent | 61f0c4b679f49953fa7147772354658a117a54e7 (diff) | |
download | Shaarli-a5e9f2d6c927a3b7e58ac2a0747103634e4394a5.tar.gz Shaarli-a5e9f2d6c927a3b7e58ac2a0747103634e4394a5.tar.zst Shaarli-a5e9f2d6c927a3b7e58ac2a0747103634e4394a5.zip |
doc: nginx config: document ipv4 and ipv6 listen directives
Diffstat (limited to 'doc')
-rw-r--r-- | doc/md/Server-configuration.md | 5 |
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 | ||
265 | server { | 265 | server { |
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 | ||