feat: update Caddyfile for OnlyOffice reverse proxy and disable WOPI in Docker Compose
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 16s
Nix Format Check / check-format (push) Successful in 54s
Python Lint Check / check-python (push) Failing after 13s

This commit is contained in:
Menno van Leeuwen 2025-03-17 15:54:49 +01:00
parent 10c755775d
commit 4c9fddee42
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
2 changed files with 8 additions and 2 deletions

View File

@ -28,7 +28,12 @@ sf.mvl.sh {
tls {{ caddy_email }}
}
sf.mvl.sh:6233 {
reverse_proxy onlyoffice:6233
of.mvl.sh {
reverse_proxy onlyoffice:80 {
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 }}
}

View File

@ -74,6 +74,7 @@ services:
environment:
- JWT_ENABLED=true
- JWT_SECRET={{ jwt_private_key | default('') }}
- WOPI_ENABLED=false
volumes:
- {{ seafile_data_dir }}/onlyoffice/logs:/var/log/onlyoffice
- {{ seafile_data_dir }}/onlyoffice/data:/var/www/onlyoffice/Data