Switch to the newest syntax
This commit is contained in:
parent
eb9f95293a
commit
b29addf7bb
|
@ -3,4 +3,4 @@ conf.d/*.conf
|
|||
!conf.d/.default.conf
|
||||
!conf.d/no-ssl.default.conf
|
||||
test/*
|
||||
!test/vhosts/
|
||||
!test/vhosts
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
server {
|
||||
listen [::]:443 quic reuseport;
|
||||
listen 443 quic reuseport;
|
||||
listen [::]:443 ssl http2;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl;
|
||||
|
||||
server_name www.example.com;
|
||||
|
||||
|
@ -28,10 +28,10 @@ server {
|
|||
server {
|
||||
listen [::]:443 quic reuseport;
|
||||
listen 443 quic reuseport;
|
||||
# listen [::]:443 ssl http2 accept_filter=dataready; # for FreeBSD
|
||||
# listen 443 ssl http2 accept_filter=dataready; # for FreeBSD
|
||||
listen [::]:443 ssl http2;
|
||||
listen 443 ssl http2;
|
||||
# listen [::]:443 ssl accept_filter=dataready; # for FreeBSD
|
||||
# listen 443 ssl accept_filter=dataready; # for FreeBSD
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl;
|
||||
|
||||
# The host name to respond to
|
||||
server_name example.com;
|
||||
|
|
|
@ -11,8 +11,8 @@ server {
|
|||
server {
|
||||
listen [::]:443 quic reuseport;
|
||||
listen 443 quic reuseport;
|
||||
listen [::]:443 ssl http2 default_server;
|
||||
listen 443 ssl http2 default_server;
|
||||
listen [::]:443 ssl default_server;
|
||||
listen 443 ssl default_server;
|
||||
|
||||
server_name _;
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
server {
|
||||
listen [::]:443 quic reuseport;
|
||||
listen 443 quic reuseport;
|
||||
listen [::]:443 ssl http2;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl;
|
||||
|
||||
server_name www.secure.server.localhost;
|
||||
|
||||
|
@ -16,8 +16,8 @@ server {
|
|||
server {
|
||||
listen [::]:443 quic reuseport;
|
||||
listen 443 quic reuseport;
|
||||
listen [::]:443 ssl http2;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl;
|
||||
|
||||
server_name secure.server.localhost;
|
||||
|
||||
|
|
Loading…
Reference in New Issue