From f8de0b6a0362b9672252df70de634da5fd0aa502 Mon Sep 17 00:00:00 2001 From: Mihmet Akpinar Date: Wed, 25 Oct 2023 09:39:41 +0200 Subject: [PATCH] testing --- templates/server/server_ssl_settings.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/server/server_ssl_settings.erb b/templates/server/server_ssl_settings.erb index 51ddaa07f..16a056139 100755 --- a/templates/server/server_ssl_settings.erb +++ b/templates/server/server_ssl_settings.erb @@ -1,7 +1,9 @@ <% if scope.call_function('versioncmp', [scope['nginx::nginx_version'], '1.15.0']) < 0 -%> ssl on; <% end -%> -<% if scope.call_function('versioncmp', [scope['nginx::nginx_version'], '1.25.1']) >= 0 && @http2 -%>http2 <%= @http2 %>;<% end %> +<% if scope.call_function('versioncmp', [scope['nginx::nginx_version'], '1.25.1']) >= 0 && @http2 -%> + http2 <%= @http2 %>; +<% end -%> <% if @ssl_cert_real -%> <% @ssl_cert_real.each do | cert | -%> ssl_certificate <%= cert %>;