diff --git a/roles/pagure/frontend/templates/pagure.cfg b/roles/pagure/frontend/templates/pagure.cfg index 29585e1067..d88b4b18d5 100644 --- a/roles/pagure/frontend/templates/pagure.cfg +++ b/roles/pagure/frontend/templates/pagure.cfg @@ -58,7 +58,11 @@ IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', '140.211.169.204'] {% endif %} # Redis configuration -EVENTSOURCE_SOURCE = 'http://0.0.0.0:8080' +{% if env == 'pagure-staging' %} +EVENTSOURCE_SOURCE = 'https://stg.pagure.io:8080' +{% else %} +EVENTSOURCE_SOURCE = 'https://pagure.io:8080' +{% endif %} REDIS_HOST = '0.0.0.0' REDIS_PORT = 6379 REDIS_DB = 0