Fix the IP address allowed to hit the internal endpoint and a if check in the template
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
25794d3999
commit
b39597b800
1 changed files with 2 additions and 2 deletions
|
@ -71,10 +71,10 @@ GIT_URL_GIT = 'https://src.fedoraproject.org/'
|
|||
{% endif %}
|
||||
|
||||
### The IP addresses allowed for the internal endpoints
|
||||
{% if env == 'pagure-staging' %}
|
||||
{% if env == 'staging' %}
|
||||
IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', '140.211.169.203']
|
||||
{% else %}
|
||||
IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', '140.211.169.204']
|
||||
IP_ALLOWED_INTERNAL = ['127.0.0.1', 'localhost', '::1', '10.5.126.51']
|
||||
{% endif %}
|
||||
|
||||
# Redis configuration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue