mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 10:31:56 +08:00
Docker client wants to check /v2/.... Allow /v2/ from outside but not internally
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -27,7 +27,15 @@ ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
AuthName "Candidate Registry Authentication"
|
||||
AuthType Basic
|
||||
AuthUserFile /etc/httpd/conf.d/candidate-registry.fedoraproject.org/passwd
|
||||
Require valid-user
|
||||
|
||||
<RequireAny>
|
||||
Require valid-user
|
||||
<RequireAll>
|
||||
Require not ip 10.5
|
||||
# This require is because otherwise apache thinks the Require not ip is useless
|
||||
Require method GET
|
||||
</RequireAll>
|
||||
</RequireAny>
|
||||
</Location>
|
||||
|
||||
# But we allow random pulling by anyone without auth
|
||||
|
||||
Reference in New Issue
Block a user