1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-12-21 17:49:04 +00:00

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

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;
}
}
}