chore: move http2_push logic into single line
[ci skip]
This commit is contained in:
1 parent
5da8bcc3b5
commit
136c868904
1 file changed
+1
-3
@@ -81,9 +81,7 @@ server {
|
|||||||
gzip_comp_level 6;
|
gzip_comp_level 6;
|
||||||
|
|
||||||
proxy_pass http://{{ $.APP }}-{{ $upstream_port }};
|
proxy_pass http://{{ $.APP }}-{{ $upstream_port }};
|
||||||
{{ if (eq $.HTTP2_PUSH_SUPPORTED "true")}}
|
{{ if eq $.HTTP2_PUSH_SUPPORTED "true" }}http2_push_preload on; {{ end }}
|
||||||
http2_push_preload on;
|
|
||||||
{{ end }}
|
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
|||||||
Reference in new issue
Block a user