Enable HTTP2 and HSTS
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
server {
|
||||
listen 80; # For Let's Encrypt
|
||||
<% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%>
|
||||
listen 443 ssl spdy;
|
||||
listen 443 ssl http2;
|
||||
<% end -%>
|
||||
|
||||
server_name <%= @server_name %>;
|
||||
|
||||
Reference in New Issue
Block a user