nginx: use http2 directive
following the deprecation warning in the logs See http://nginx.org/en/docs/http/ngx_http_v2_module.html
This commit is contained in:
@@ -29,8 +29,11 @@ server {
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
http2 on;
|
||||
|
||||
server_name ${PUBLIC_HOSTNAME};
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/${PUBLIC_HOSTNAME}/fullchain.pem;
|
||||
|
||||
Reference in New Issue
Block a user