From 76ac4faa8ef860a77cf05dec0bf0268c70eb3585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Fr=C3=B6hner?= Date: Wed, 4 Nov 2020 04:32:55 +0100 Subject: [PATCH] Fix indention for add_header at template calls --- templates/server/server_header.erb | 2 +- templates/server/server_ssl_header.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/server/server_header.erb b/templates/server/server_header.erb index 39b452538..10c911aa8 100644 --- a/templates/server/server_header.erb +++ b/templates/server/server_header.erb @@ -133,7 +133,7 @@ server { <% if Array(@resolver).count > 0 -%> resolver <% Array(@resolver).each do |r| %> <%= r %><% end %>; <% end -%> -<%= scope.function_template(["nginx/server/locations/headers.erb"]) %> + <%= scope.function_template(["nginx/server/locations/headers.erb"]) %> <% if @maintenance -%> <%= @maintenance_value %>; <% end -%> diff --git a/templates/server/server_ssl_header.erb b/templates/server/server_ssl_header.erb index 7c9c8c46f..6ea170005 100644 --- a/templates/server/server_ssl_header.erb +++ b/templates/server/server_ssl_header.erb @@ -169,4 +169,4 @@ server { <% Array(@passenger_env_var).each do |key,value| -%> passenger_env_var <%= key %> <%= value %>; <% end -%> -<%= scope.function_template(["nginx/server/locations/headers.erb"]) %> + <%= scope.function_template(["nginx/server/locations/headers.erb"]) %>