feat: update Caddyfile for OnlyOffice reverse proxy and disable WOPI in Docker Compose
This commit is contained in:
parent
10c755775d
commit
4c9fddee42
@ -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 }}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user