From 22906d6bea8922d9c0bf3f7af52aae8e438ed710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Planchat?= Date: Mon, 14 Dec 2020 10:56:32 +0100 Subject: [PATCH] Fixed an issue in the Nginx configuration --- src/Domain/Stack/OroPlatform/Service/Nginx.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Domain/Stack/OroPlatform/Service/Nginx.php b/src/Domain/Stack/OroPlatform/Service/Nginx.php index a2bb619..b926b67 100644 --- a/src/Domain/Stack/OroPlatform/Service/Nginx.php +++ b/src/Domain/Stack/OroPlatform/Service/Nginx.php @@ -84,7 +84,6 @@ public function build(DTO\Stack $stack, DTO\Context $context): DTO\Stack proxy_redirect off; proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; proxy_set_header Host \$http_host; - proxy_redirect off; proxy_set_header X-Forwarded-Proto \$scheme; proxy_set_header X-NginX-Proxy true; proxy_connect_timeout 600; @@ -213,4 +212,4 @@ public function build(DTO\Stack $stack, DTO\Context $context): DTO\Stack return $stack; } -} \ No newline at end of file +}