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

Enhancement/Add settings required for SSL #350

Open
wants to merge 1 commit into
base: master
from

Conversation

@c-w
Copy link
Contributor

commented Aug 24, 2019

Many of doccano's settings are currently configurable via the environment as per the 12-factor methodology. This pull request extends the configuration to also include settings required to run doccano successfully behind an SSL terminating proxy. The change is fully backwards compatible since by default the new environment variables are disabled.

Example environment configuration to enable custom SSL:

export SESSION_COOKIE_SECURE="True"
export CSRF_COOKIE_SECURE="True"
export CSRF_TRUSTED_ORIGINS="some.domain.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.