From e4ff22b67cf7b3605dbfea032ecb46acb9120893 Mon Sep 17 00:00:00 2001 From: Lucas Bartholemy Date: Wed, 18 Dec 2024 15:50:14 +0100 Subject: [PATCH] Fixed Forwarded Port and Web Config --- Caddyfile | 4 +++- image/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Caddyfile b/Caddyfile index 6628e3d..ef154d0 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,3 +1,5 @@ {$caddydomain} { - reverse_proxy humhub:8404 + reverse_proxy humhub:8404 { + header_up X-Forwarded-Port 443 + } } \ No newline at end of file diff --git a/image/Dockerfile b/image/Dockerfile index f6a208e..f70f4f2 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -101,7 +101,7 @@ ENV HUMHUB_CONFIG__COMPONENTS__URL_MANAGER__ENABLE_PRETTY_URL=true ENV HUMHUB_CONFIG__MODULES__INSTALLER__ENABLE_AUTO_SETUP=true ENV HUMHUB_CONFIG__MODULES__MARKETPLACE__MODULE_BLACKLIST='["updater"]' ENV HUMHUB_CONFIG__PARAMS__MODULE_AUTOLOAD_PATHS='["/var/lib/humhub/modules-custom"]' -ENV HUMHUB_CONFIG__COMPONENTS__REQUEST__TRUSTED_HOSTS='["0.0.0.0/0"]' +ENV HUMHUB_WEB_CONFIG__COMPONENTS__REQUEST__TRUSTED_HOSTS='["0.0.0.0/0"]' ENV HUMHUB_CONFIG__RUNTIME_PATH=/var/www/html/protected/runtime ENV HUMHUB_ALIASES__WEBROOT=/var/www/html ENV HUMHUB_ALIASES__APP=/var/www/html/protected