Senaite v.2.6.0 on VPS / Https

Hi there, I trying to install senaite 2.6.0 using a docker, first did some excercises on a local ubuntu machine and works acceptable, unless issues installing addons, but it will be discussed in a separated topic. Now I migrated it to a VPS under a domain managed by myself. I’m using Caddy to mount https, its works but it seems that css header and other formats do not get on the browser, appears the information but a very basic format. Could it be a proxy reverse setting that I missing?

Thanks in advance

See the caddyfile:

mysubdomain.domain.me {
reverse_proxy localhost:8080 {
header_up Host {host}
header_up X-Real-IP {remote_host}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto {scheme}
header_up X-Forwarded-Host {host}
header_up X-Forwarded-Port {server_port}
}
}

The docker command used:
docker container run -p 8080:8080 --name senaite -e ADDONS=“senaite.storage senaite.databox” senaite/senaite:v2.6.0

Result of docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
xxxxxxx6ad3f senaite/senaite:v2.6.0 “/docker-entrypoint.…” 45 minutes ago Up 45 minutes 0.0.0.0:8080->8080/tcp, [::]:8080->8080/tcp senaite

Hi Simón,

you need to add a rewrite rule to make it work properly, e.g. like here:

I guess it is this directive for you: rewrite (Caddyfile directive) — Caddy Documentation