pagure/dist-git: Adjust the IP list allowed on the internal endpoint

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2021-03-01 17:02:50 +01:00
parent 40bfa1604b
commit caa8b7054a

View file

@ -68,7 +68,7 @@ GIT_URL_GIT = 'https://src.fedoraproject.org/'
### The IP addresses allowed for the internal endpoints
{% if env == 'staging' %}
IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', '10.5.128.177']
IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', '10.5.128.177', '10.3.166.74']
{% else %}
IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', '10.5.126.51', '10.5.126.52', '10.3.163.74', '10.3.163.75']
{% endif %}