diff --git a/template/server-block-conf.ejs b/template/server-block-conf.ejs index 264aa84..f33a6f6 100644 --- a/template/server-block-conf.ejs +++ b/template/server-block-conf.ejs @@ -36,7 +36,8 @@ server { } if (s.hasSsl) { %> - listen 443 ssl http2; + listen 443 ssl; + http2 on; ssl_certificate <%-s.crtPath%>; ssl_certificate_key <%-s.keyPath%>; <%