Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FORCE_HTTPS_IN_CONF does not set https to SERVICE_URL #395

Open
christophdb opened this issue Aug 1, 2024 · 0 comments
Open

FORCE_HTTPS_IN_CONF does not set https to SERVICE_URL #395

christophdb opened this issue Aug 1, 2024 · 0 comments

Comments

@christophdb
Copy link

the enviroment variable FORCE_HTTPS_IN_CONF is not working as intended. It creates this seahub_settings.py:

SERVICE_URL = "http://my-url"
FILE_SERVER_ROOT = "https://my-url/seafhttp"
...

As you can see, the SERVICE_URL is not using this new environment variable because this variable is written in setup-seafile-mysql.py and not in bootstrap.py.

Can you add this logic to setup-seafile-mysql.py too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant