Add missing IPv6 "ssl" keyword in nginx config examples (#1854)

Signed-off-by: Arnaud Venturi <git@toadjaune.eu>
This commit is contained in:
Arnaud Venturi 2021-06-07 10:29:54 +02:00 committed by GitHub
parent 89a6787fdb
commit 6fa5743ea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
server { server {
listen 443 ssl; # IPv4 listen 443 ssl; # IPv4
listen [::]:443; # IPv6 listen [::]:443 ssl; # IPv6
server_name my.hostname.com; server_name my.hostname.com;
ssl_certificate /path/to/fullchain.pem; ssl_certificate /path/to/fullchain.pem;

View File

@ -1,6 +1,6 @@
server { server {
listen 443 ssl; # IPv4 listen 443 ssl; # IPv4
listen [::]:443; # IPv6 listen [::]:443 ssl; # IPv6
server_name my.hostname.com; server_name my.hostname.com;
ssl_certificate /path/to/fullchain.pem; ssl_certificate /path/to/fullchain.pem;