chore: move http2_push logic into single line

[ci skip]
This commit is contained in:
Jose Diaz-Gonzalez
2018-05-19 02:14:37 -04:00
committed by GitHub
parent 5da8bcc3b5
commit 136c868904

View File

@@ -81,9 +81,7 @@ server {
gzip_comp_level 6;
proxy_pass http://{{ $.APP }}-{{ $upstream_port }};
{{ if (eq $.HTTP2_PUSH_SUPPORTED "true")}}
http2_push_preload on;
{{ end }}
{{ if eq $.HTTP2_PUSH_SUPPORTED "true" }}http2_push_preload on; {{ end }}
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";