diff --git a/docker-compose.yml b/docker-compose.yml index 992447f..355421a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,8 @@ - REDIS_HOST=redis - TZ=${TZ} - NEXTCLOUD_TRUSTED_DOMAINS=${NEXTCLOUD_TRUSTED_DOMAINS} + - OVERWRITEHOST=${NEXTCLOUD_OVERWRITEHOST} + - OVERWRITEPROTOCOL=https tmpfs: - /tmp links: diff --git a/nextcloud.conf.example b/nextcloud.conf.example index 4b708d1..cee84c6 100644 --- a/nextcloud.conf.example +++ b/nextcloud.conf.example @@ -9,8 +9,11 @@ # admin user name NEXTCLOUD_ADMIN_USER=admin +# your primary domain +NEXTCLOUD_OVERWRITEHOST="cloud.example.com" + # comma seperated list of trusted domains -NEXTCLOUD_TRUSTED_DOMAINS="betacloud.pgollor.de" +NEXTCLOUD_TRUSTED_DOMAINS="cloud.example.com c.example.com" ## Timezone one of /usr/share/zoneinfo TZ=Europe/Berlin