From 3c79f5f675ae2a5e0c50145a47ce3b24ee9df7a9 Mon Sep 17 00:00:00 2001 From: Chemaclass Date: Thu, 28 Apr 2022 12:42:12 +0200 Subject: [PATCH] Remove merging zed_api.external_hosts with zed.external_hosts --- .../image/nginx/root/etc/nginx/conf.d/zed.conf.template.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spryker/docker/image/nginx/root/etc/nginx/conf.d/zed.conf.template.twig b/src/spryker/docker/image/nginx/root/etc/nginx/conf.d/zed.conf.template.twig index c13e5f6c1..7e245f1b8 100644 --- a/src/spryker/docker/image/nginx/root/etc/nginx/conf.d/zed.conf.template.twig +++ b/src/spryker/docker/image/nginx/root/etc/nginx/conf.d/zed.conf.template.twig @@ -1,4 +1,4 @@ -{% for store_code, zed_external_host in @('zed.external_hosts')|merge(@('zed_api.external_hosts')) | filter(v => v is not empty) %} +{% for store_code, zed_external_host in @('zed.external_hosts') | filter(v => v is not empty) %} server { listen 80; listen 443 ssl http2; @@ -47,7 +47,7 @@ server { } {% endfor %} -{% for store_code, zed_api_external_host in @('zed_api.external_hosts') %} +{% for store_code, zed_api_external_host in @('zed_api.external_hosts') | filter(v => v is not empty) %} server { listen 80; listen 443 ssl http2;