From 136c8689047e56465d21765b637ff7bed8587b33 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 19 May 2018 02:14:37 -0400 Subject: [PATCH] chore: move http2_push logic into single line [ci skip] --- plugins/nginx-vhosts/templates/nginx.conf.sigil | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/nginx-vhosts/templates/nginx.conf.sigil b/plugins/nginx-vhosts/templates/nginx.conf.sigil index 5f46a4ff2..360ba4a6a 100644 --- a/plugins/nginx-vhosts/templates/nginx.conf.sigil +++ b/plugins/nginx-vhosts/templates/nginx.conf.sigil @@ -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";