fix onlyoffice for caddy reverse proxy

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-05-13 17:14:10 +02:00
parent 7d419695c1
commit 268c647e5f

View file

@ -36,6 +36,7 @@
uri strip_prefix /onlyoffice uri strip_prefix /onlyoffice
reverse_proxy {$ONLYOFFICE_HOST}:80 { reverse_proxy {$ONLYOFFICE_HOST}:80 {
header_up X-Forwarded-Host {http.request.host}/onlyoffice header_up X-Forwarded-Host {http.request.host}/onlyoffice
header_up X-Forwarded-Proto https
} }
} }