fix: The caddy port must be a string

This commit is contained in:
pazpi 2024-11-06 12:26:47 +01:00
parent ec65523af5
commit ec54078025
2 changed files with 1 additions and 2 deletions

View file

@ -144,7 +144,7 @@ in
import cloudflare
'';
virtualHosts."onlyoffice.${domain}".extraConfig = ''
reverse_proxy http://${host}:${config.services.onlyoffice.port}
reverse_proxy http://${host}:${toString config.services.onlyoffice.port}
import cloudflare
# Required to circumvent bug of Onlyoffice loading mixed non-https content
header_up X-Forwarded-Proto https