Use the http2 directive in nginx instead of the deprecated method of appending it to the end of the listen
This commit is contained in:
parent
ab8373d52d
commit
c44af7bde7
1 changed files with 3 additions and 2 deletions
|
@ -8,8 +8,9 @@ server {
|
|||
}
|
||||
|
||||
server {
|
||||
listen [::]:443 ssl http2;
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl;
|
||||
listen 443 ssl;
|
||||
http2 on;
|
||||
server_name stats.REPLACEME.TLD;
|
||||
root /srv/http/stats.REPLACEME.TLD;
|
||||
|
||||
|
|
Loading…
Reference in a new issue