mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user