diff --git a/templates/etc/nginx/sites-available/vhost.j2 b/templates/etc/nginx/sites-available/vhost.j2 index 66961bd..55bba10 100644 --- a/templates/etc/nginx/sites-available/vhost.j2 +++ b/templates/etc/nginx/sites-available/vhost.j2 @@ -101,7 +101,7 @@ server { {% endif %} {% if location.proxy_ignore_headers is defined and location.proxy_ignore_headers %} - proxy_ignore_headers {{ ignore | join(" ") }}; + proxy_ignore_headers {{ location.proxy_ignore_headers | join(" ") }}; {% endif %} {% endif %} {% if location.custom_options is defined and location.custom_options %}