Use http2

http2 is a more secure connection and in some cases can improve load times.
This commit is contained in:
Steven Tracey 2021-09-29 10:10:15 -04:00 committed by GitHub
parent dbc5b69dc8
commit c64afd2158
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ server {
# The majority of SSL options depend on what your application does or needs
server {
listen 443 ssl;
listen 443 ssl http2;
server_name example.com;
ssl on;
@ -212,4 +212,4 @@ server {
location / {
proxy_pass http://node_js;
}
}
}