feat: enhance Collabora service configuration in Caddyfile and docker-compose for improved proxy headers and SSL termination
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 17s
Nix Format Check / check-format (push) Successful in 1m1s
Python Lint Check / check-python (push) Failing after 13s

This commit is contained in:
Menno van Leeuwen 2025-03-14 11:54:23 +01:00
parent a7c1cee880
commit a5657bc15a
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
2 changed files with 8 additions and 3 deletions

View File

@ -27,6 +27,11 @@ cloud.vleeuwen.me cloud.mvl.sh {
} }
collabora.mvl.sh { collabora.mvl.sh {
reverse_proxy collabora:9980 reverse_proxy collabora:9980 {
header_up Host {host}
header_up X-Real-IP {remote}
header_up X-Forwarded-For {remote}
header_up X-Forwarded-Proto {scheme}
}
tls {{ caddy_email }} tls {{ caddy_email }}
} }

View File

@ -46,11 +46,11 @@ services:
image: collabora/code:latest image: collabora/code:latest
restart: always restart: always
environment: environment:
- domain=cloud\.mvl\.sh|cloud\.vleeuwen\.me
- username={{collabora_user}} - username={{collabora_user}}
- password={{collabora_pass}} - password={{collabora_pass}}
- domain=cloud.mvl.sh
- dictionaries=en nl du fr - dictionaries=en nl du fr
- extra_params=--o:ssl.enable=true --o:ssl.termination=false - extra_params=--o:ssl.enable=true --o:ssl.termination=true
ports: ports:
- 9980:9980 - 9980:9980
networks: networks: