Builds to staging are triggered by commits to main
.
The staging URLs are:
- foundation.mofostaging.net for the Foundation website
- mozillafestival.mofostaging.net for the Mozilla festival website
Production deployments are done by promoting Staging in the Heroku pipeline.
The production URLs are:
- foundation.mozilla.org for the Foundation website
- mozillafestival.org for the Mozilla festival website
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.
USE_COMMENTO
: If Commento.io commenting is to be enabled, set this toTrue
. Don't forget to add the js domain to your CSP directives for script-src and child-src