Fix template.
This commit is contained in:
parent
6bc2f3f623
commit
317360d13b
1 changed files with 6 additions and 6 deletions
|
@ -15,11 +15,11 @@
|
|||
|
||||
# This is for local development purposes. It won't be used for
|
||||
# production.
|
||||
{{ if environment == "staging" }}
|
||||
{% if env == "staging" %}
|
||||
sqlobject.dburi="notrans_postgres://mirroradmin:{{= mirrorPassword }}@db-mirrormanager.stg:5432/mirrormanager"
|
||||
{{ else }}
|
||||
{% else %}
|
||||
sqlobject.dburi="notrans_postgres://mirroradmin:{{= mirrorPassword }}@db-mirrormanager:5432/mirrormanager"
|
||||
{{ end }}
|
||||
{% end %}
|
||||
|
||||
# if you are using a database or table type without transactions
|
||||
# (MySQL default, for example), you should turn off transactions
|
||||
|
@ -97,11 +97,11 @@ mrr.repos = ''' {
|
|||
} '''
|
||||
|
||||
base_url_filter.on = True
|
||||
{{ if environment == "staging" }}
|
||||
{% if env == "staging" %}
|
||||
base_url_filter.base_url = "https://admin.stg.fedoraproject.org"
|
||||
{{ else }}
|
||||
{% else %}
|
||||
base_url_filter.base_url = "https://admin.fedoraproject.org"
|
||||
{{ end }}
|
||||
{% end %}
|
||||
base_url_filter.use_x_forwarded_host = False
|
||||
|
||||
[/xmlrpc]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue