Skip to content

Proxmox Opencloud LXC behind 2 external Caddy proxies #2480

@davidhund

Description

@davidhund

I installed Opencloud through the Proxmox helper-script (so not through the Docker).

I have a Hetzner VPS running Caddy (TLS termination) and a FRP Server tunnelling my subdomain.personal.tld to my homelab servers on my internal network. In my home network I run a proxmox hosts with a pi-hole LXC with internal DNS as well as another Caddy reverse proxy. So internally I point e.g. service.home to my service LXC IP:PORT.

This works well with e.g. Immich where photos.domain.tld correctly is tunnelled/forwarded to my homelab LXC. TLS is terminated in my VPS Caddy proxy, so I use http://photos.domain.tld/ (not https) in my homelab Caddy.

With Opencloud, however, the proxy/tunnel seems to work fine, but I get a ERR_TOO_MANY_REDIRECTS when accessing: https://cloud.domain.tld.

It seems Opencloud redirects (308) https://cloud.domain.tld to https://cloud.domain.tld again…

I'm pretty sure I should configure Opencloud to not use HTTPS — and rely on my VPS Caddy — but do not know how/where: setting OC_INSECURE=true did not seem to change anything, just as PROXY_TLS=true?

Additionally: the internal host: https://opencloud.home/ shows the "Missing or invalid config" page…

Can anyone point me to some directions on how to set up Opencloud behind an home-network Caddy proxy that connects to another public VPS Caddy that handles TLS termination?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions