Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Enhancement/Add settings required for SSL #350
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"