Configuration for the latest tahrir release.
This commit is contained in:
parent
a2d6ddc13c
commit
bf3487792f
1 changed files with 30 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
[pipeline:main]
|
||||
pipeline =
|
||||
moksha
|
||||
tw2
|
||||
tahrir
|
||||
|
||||
[filter:proxy-prefix]
|
||||
|
@ -7,6 +9,12 @@ use = egg:PasteDeploy#prefix
|
|||
prefix = /badges
|
||||
scheme = https
|
||||
|
||||
[filter:tw2]
|
||||
use = egg:tw2.core#middleware
|
||||
|
||||
[filter:moksha]
|
||||
use = egg:moksha.wsgi#middleware
|
||||
|
||||
[app:tahrir]
|
||||
|
||||
use = egg:tahrir
|
||||
|
@ -36,20 +44,42 @@ tahrir.title = Fedora Badges (staging!)
|
|||
tahrir.base_url = https://apps.stg.fedoraproject.org/badges
|
||||
tahrir.openid_identifier = http://id.stg.fedoraproject.org
|
||||
tahrir.openid_realm = https://apps.stg.fedoraproject.org/badges
|
||||
tahrir.websocket.topic = org.fedoraproject.stg.fedbadges.badge.award
|
||||
{% else %}
|
||||
tahrir.title = Fedora Badges
|
||||
tahrir.base_url = badges.fedoraproject.org
|
||||
tahrir.openid_identifier = https://id.fedoraproject.org
|
||||
tahrir.openid_realm = https://apps.fedoraproject.org/badges
|
||||
tahrir.websocket.topic = org.fedoraproject.prod.fedbadges.badge.award
|
||||
{% endif %}
|
||||
tahrir.secure_cookies = True
|
||||
|
||||
# Only allow @fedoraproject.org emails
|
||||
tahrir.use_openid_email = False
|
||||
|
||||
# For auto-updating the frontpage.
|
||||
tahrir.use_websockets = True
|
||||
|
||||
session.secret="${tahrirSessionSecret}"
|
||||
authnsecret="${tahrirAuthnSecret}"
|
||||
|
||||
moksha.domain = fedoraproject.org
|
||||
|
||||
moksha.notifications = False
|
||||
moksha.socket.notify = False
|
||||
|
||||
moksha.livesocket = True
|
||||
moksha.livesocket.backend = websocket
|
||||
moksha.livesocket.reconnect_interval = 5000
|
||||
moksha.livesocket.websocket.scheme = wss
|
||||
moksha.livesocket.websocket.port = 9939
|
||||
{% if env == 'staging' %}
|
||||
moksha.livesocket.websocket.host = stg.fedoraproject.org
|
||||
{% else %}
|
||||
moksha.livesocket.websocket.host = hub.fedoraproject.org
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
# Begin logging configuration
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue