Skip to content

Conversation

@c-w
Copy link
Member

@c-w c-w 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"

@Hironsan Hironsan merged commit ff892d4 into doccano:master Nov 18, 2019
@c-w c-w deleted the enhancement/ssl-settings branch November 18, 2019 18:05
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

Successfully merging this pull request may close these issues.

2 participants