Thank you for your answer.
I have tried to setup a dedicated Collabora container but I get the following error after inserting the following address into the office settings in Nextcloud https:://collabora.my.domain:
Your browser has been unable to connect to the Collabora server: http://collabora.ppflaum.ch
This URL is determined on the Collabora server either from the configured URL or the server_name parameter in coolwsd.xml.
I have used the following container setup:
[Container]
ContainerName=collabora-nextcloud
Pod=nextcloud.pod
Image=docker.io/collabora/code:latest
AutoUpdate=registry
Environment=domain=collabora.my.domain
Environment=server_name=collabora.my.domain
Environment=extra_params=--o:ssl.enable=false
[Unit]
After=nextcloud.pod
Requires=nextcloud.pod
[Service]
Restart=always
[Install]
WantedBy=default.target
I use the following Caddyfile for the reverse proxy:
{
email my-address@proton.me
}
nextcloud.my.domain {
reverse_proxy 127.0.0.1:8080 {
header_up Host {host}
header_up X-Real-IP {remote_ip}
header_up X-Forwarded-For {remote_ip}
header_up X-Forwarded-Proto {scheme}
}
}
collabora.my.domain {
encode gzip
reverse_proxy 127.0.0.1:9980 {
header_up Host {upstream_hostport}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto {scheme}
}
}
I have read the reference Collabora integration guide but I am not an expert and I don’t see my mistake.