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:
parent
dbc5b69dc8
commit
c64afd2158
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user