Closed yksflip closed 1 month ago
Since version 10.0.x, if you want to use a reverse proxy and apply for a certificate outside docker, you can use FORCE_HTTPS_IN_CONF to force write https://
You can also manually change the generated config items in the configuration files after the first time you run the docker container.
Hey!
We'd like to use traefik to handle https for our seafile docker setup. Unfortunately it's not possible to overwrite
SERVICE_URL
andFILE_SERVER_ROOT
with the correct protocol (https), becausebootstrap.py
is_https()
check for theSEAFILE_SERVER_LETSENCRYPT
, what would also trigger theinit_letsencrypt()
.It would either be nice to have a seperate PROTOCOL environment variable or let SERVICE_URL and FILE_SERVER_ROOT be overridden from docker-compose.yml.