Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2018-01-24 22:04:57 +01:00
parent f1ef844715
commit 445d4f0919

View file

@ -55,9 +55,10 @@ SSLOptions +FakeBasicAuth
<Limit GET HEAD>
Require all granted
</Limit>
</Location>
# Write access to docker-deployer only
{% if env == "staging" %}
# Write access to docker-deployer only
{% if env == "staging" %}
<Location /v2/fedora>
<Limit POST PUT DELETE>
Require user docker-registry-internal-stg
@ -72,10 +73,8 @@ SSLOptions +FakeBasicAuth
<Location /v2>
Require all denied
</Location>
{% else %}
<Location /v2>
require valid-user
</Location>
{% endif %}
</Location>
{% else %}
<Location /v2>
require valid-user
</Location>
{% endif %}