force https in conf

This commit is contained in:
BeauTroll
2026-01-06 10:54:02 +01:00
parent 32de88b3f3
commit 6b27ef3343

View File

@@ -34,6 +34,7 @@ services:
- SEAFILE_SERVER_PROTOCOL=https # Protocol used to access Seafile (http or https) - SEAFILE_SERVER_PROTOCOL=https # Protocol used to access Seafile (http or https)
- SERVICE_URL=https://${SEAFILE_SERVER_HOSTNAME} # Full URL to access Seafile - SERVICE_URL=https://${SEAFILE_SERVER_HOSTNAME} # Full URL to access Seafile
- FILE_SERVER_ROOT=https://${SEAFILE_SERVER_HOSTNAME}/seafhttp # URL for file server - FILE_SERVER_ROOT=https://${SEAFILE_SERVER_HOSTNAME}/seafhttp # URL for file server
- FORCE_HTTPS_IN_CONF=true # Force HTTPS in all Seafile configuration files
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.seafile.rule=Host(`${SEAFILE_SERVER_HOSTNAME}`)" - "traefik.http.routers.seafile.rule=Host(`${SEAFILE_SERVER_HOSTNAME}`)"