Replace hardcoded phx2 with datacenter fir sigul server conf

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2020-06-09 19:37:52 +02:00
parent e8bb6f6815
commit 833af2bc2e
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
# #
[bridge] [bridge]
# Nickname of the bridge's certificate in the NSS database specified below # Nickname of the bridge's certificate in the NSS database specified below
bridge-cert-nickname: sign-bridge{{ env_suffix }}.phx2.fedoraproject.org bridge-cert-nickname: sign-bridge{{ env_suffix }}.{{datacenter}}.fedoraproject.org
# Maximum accepted total size of all RPM payloads stored on disk for one request # Maximum accepted total size of all RPM payloads stored on disk for one request
max-rpms-payload-size: 70737418240 max-rpms-payload-size: 70737418240

View file

@ -4,11 +4,11 @@
# Host name of the publically acessible bridge to clients # Host name of the publically acessible bridge to clients
{% if env == "production" %} {% if env == "production" %}
bridge-hostname: sign-bridge.phx2.fedoraproject.org bridge-hostname: sign-bridge.{{datacenter}}.fedoraproject.org
{% else %} {% else %}
bridge-hostname: sign-bridge01.stg.phx2.fedoraproject.org bridge-hostname: sign-bridge01.stg.{{datacenter}}.fedoraproject.org
{% endif %} {% endif %}
server-cert-nickname: sign-vault{{ env_suffix }}.phx2.fedoraproject.org server-cert-nickname: sign-vault{{ env_suffix }}.{{datacenter}}.fedoraproject.org
# Port on which the bridge expects server connections # Port on which the bridge expects server connections
bridge-port: 44333 bridge-port: 44333