Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 1.12 KB

ops_heroku_settings.md

File metadata and controls

27 lines (15 loc) · 1.12 KB

OPS and Heroku Settings

Staging

Builds to staging are triggered by commits to main.

The staging URLs are:

Production

Production deployments are done by promoting Staging in the Heroku pipeline.

The production URLs are:

Domain Redirect

Enable domain redirection by setting DOMAIN_REDIRECT_MIDDLEWARE_ENABLED to True. This will enable a middleware function that checks every request, and returns a 307 redirect to the first listed domain in TARGET_DOMAINS if the host header does not match one of the domains specified there.

Special purposes Environment Variables

  • USE_COMMENTO: If Commento.io commenting is to be enabled, set this to True. Don't forget to add the js domain to your CSP directives for script-src and child-src