diff --git a/roles/fedocal/templates/fedocal.cfg b/roles/fedocal/templates/fedocal.cfg index 2c00bdc776..b14b69b458 100644 --- a/roles/fedocal/templates/fedocal.cfg +++ b/roles/fedocal/templates/fedocal.cfg @@ -36,10 +36,12 @@ PREFERRED_URL_SCHEME='https' # Make browsers send session cookie only via HTTPS SESSION_COOKIE_SECURE = True +# Used by SESSION_COOKIE_PATH +APPLICATION_ROOT = 'calendar/' + {% if env == 'staging' %} -APP_URL = 'https://apps.stg.fedoraproject.org/calendar/' +APP_URL = 'https://apps.stg.fedoraproject.org/' + APPLICATION_ROOT FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/' {% else %} -APP_URL = 'https://apps.fedoraproject.org/calendar/' +APP_URL = 'https://apps.fedoraproject.org/' + APPLICATION_ROOT {% endif %} -