Set the list of IPs allowed for the internal API endpoints

This commit is contained in:
Pierre-Yves Chibon 2015-05-19 17:45:13 +02:00
parent 37af0e51be
commit 4b811b5b6d

View file

@ -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'