pagure-stg: Fix the FAS URL to use in staging
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
ccab205977
commit
f00b5c16c3
1 changed files with 5 additions and 2 deletions
|
@ -20,6 +20,11 @@ EMAIL_SEND = True
|
||||||
# This is required so that login specifies https
|
# This is required so that login specifies https
|
||||||
PREFERRED_URL_SCHEME='https'
|
PREFERRED_URL_SCHEME='https'
|
||||||
|
|
||||||
|
{% if env == 'pagure-staging' %}
|
||||||
|
# OpenID server to use
|
||||||
|
FAS_OPENID_ENDPOINT = 'https://id.stg.fedoraproject.org/openid/'
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
### url to the database server:
|
### url to the database server:
|
||||||
#DB_URL=mysql://user:pass@host/db_name
|
#DB_URL=mysql://user:pass@host/db_name
|
||||||
#DB_URL=postgres://user:pass@host/db_name
|
#DB_URL=postgres://user:pass@host/db_name
|
||||||
|
@ -50,8 +55,6 @@ DOMAIN_EMAIL_NOTIFICATIONS = 'pagure.io'
|
||||||
{% if env == 'pagure-staging' %}
|
{% if env == 'pagure-staging' %}
|
||||||
APP_URL = 'https://stg.pagure.io/'
|
APP_URL = 'https://stg.pagure.io/'
|
||||||
DOC_APP_URL = 'https://docs.stg.pagure.org'
|
DOC_APP_URL = 'https://docs.stg.pagure.org'
|
||||||
|
|
||||||
FAS_BASE_URL = 'https://admin.stg.fedoraproject.org/accounts/'
|
|
||||||
{% else %}
|
{% else %}
|
||||||
APP_URL = 'https://pagure.io/'
|
APP_URL = 'https://pagure.io/'
|
||||||
DOC_APP_URL = 'https://docs.pagure.org'
|
DOC_APP_URL = 'https://docs.pagure.org'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue