Set the list of IPs allowed for the internal API endpoints
This commit is contained in:
parent
37af0e51be
commit
4b811b5b6d
1 changed files with 7 additions and 0 deletions
|
@ -50,6 +50,13 @@ GIT_URL_SSH = 'git@pagure.io'
|
|||
GIT_URL_GIT = 'git://pagure.io'
|
||||
{% endif %}
|
||||
|
||||
### The IP addresses allowed for the internal endpoints
|
||||
{% if env == 'pagure-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']
|
||||
{% endif %}
|
||||
|
||||
### Folder containing to the git repos
|
||||
GIT_FOLDER = '/srv/git/repositories'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue