From a985c7d91e581bdda17fcc8b6d166c36d29fcc26 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 18 Jun 2015 17:05:15 +0200 Subject: [PATCH] Adjust the eventsource server url --- roles/pagure/frontend/templates/pagure.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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