From 78faad6716ef2326d31e131cf4184e16a6a53b45 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Wed, 24 Jun 2026 15:12:51 +0200 Subject: [PATCH] apache: re-introduce `X-Forwarded-Proto https` so that onlyoffice and eurooffice always work no matter the actual reverse proxy config in front of it Signed-off-by: Simon L. --- Containers/apache/Caddyfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Containers/apache/Caddyfile b/Containers/apache/Caddyfile index 9edc7119..cb383aa4 100644 --- a/Containers/apache/Caddyfile +++ b/Containers/apache/Caddyfile @@ -47,6 +47,7 @@ http://{$APACHE_HOST}.nextcloud-aio:23973, # For Collabora callback and WOPI req uri strip_prefix /onlyoffice reverse_proxy {$ONLYOFFICE_HOST}:80 { header_up X-Forwarded-Host {http.request.hostport}/onlyoffice + header_up X-Forwarded-Proto https } } @@ -54,7 +55,9 @@ http://{$APACHE_HOST}.nextcloud-aio:23973, # For Collabora callback and WOPI req route /eurooffice/* { uri strip_prefix /eurooffice reverse_proxy {$EUROOFFICE_HOST}:80 { + header_up X-Forwarded-Host {http.request.hostport} header_up X-Forwarded-Prefix /eurooffice + header_up X-Forwarded-Proto https } }