From 7bd12050f6dab84d67c79654f5cbe32b18a3e6c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Thu, 28 Sep 2023 14:59:55 +0200 Subject: [PATCH] define forwarded_scheme before use --- docker/configs/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/configs/nginx.conf b/docker/configs/nginx.conf index fadcd50..cc31e41 100644 --- a/docker/configs/nginx.conf +++ b/docker/configs/nginx.conf @@ -1,3 +1,9 @@ +map $http_x_forwarded_proto $forwarded_scheme { + default $scheme; + http http; + https https; +} + server { listen 80 default_server; listen [::]:80 default_server; -- 2.45.2