Move
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
f1ef844715
commit
445d4f0919
1 changed files with 8 additions and 9 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue