Skip to content

Commit

Permalink
Fixed Forwarded Port and Web Config
Browse files Browse the repository at this point in the history
  • Loading branch information
luke- committed Dec 18, 2024
1 parent 240db71 commit e4ff22b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Caddyfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{$caddydomain} {
reverse_proxy humhub:8404
reverse_proxy humhub:8404 {
header_up X-Forwarded-Port 443
}
}
2 changes: 1 addition & 1 deletion image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4ff22b

Please sign in to comment.