| Index: modules/web/templates/global.conf.erb |
| =================================================================== |
| --- a/modules/web/templates/global.conf.erb |
| +++ b/modules/web/templates/global.conf.erb |
| @@ -2,18 +2,18 @@ |
| <%- @aliases.each do |vhost_alias| %> |
| server |
| { |
| server_name '<%= vhost_alias %>'; |
| listen 80; |
| listen [::]:80; |
| <%- if @certificate != @private_key %> |
| - listen 443 ssl spdy; |
| - listen [::]:443 ssl spdy; |
| + listen 443 ssl http2; |
| + listen [::]:443 ssl http2; |
| ssl_certificate <%= @certificate %>; |
| ssl_certificate_key <%= @private_key %>; |
| location / |
| { |
| rewrite .* https://<%= @vhost %>/ redirect; |
| } |
| @@ -22,9 +22,8 @@ server |
| location / |
| { |
| rewrite .* http://<%= @vhost %>/ redirect; |
| } |
| <%- end %> |
| } |
| <%- end %> |
| <%- end %> |
| - |