chore: move http2_push logic into single line
[ci skip]
This commit is contained in:
committed by
GitHub
parent
5da8bcc3b5
commit
136c868904
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user