mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 14:03:32 +08:00
d4n is really really annoying
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -6,8 +6,18 @@ ProxyPreserveHost On
|
||||
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
|
||||
# No more v1
|
||||
# Only pull from v1
|
||||
<Location /v1/>
|
||||
<Limit GET HEAD>
|
||||
Require all granted
|
||||
</Limit>
|
||||
<Limit POST PUT DELETE>
|
||||
Require all denied
|
||||
</Limit>
|
||||
</Location>
|
||||
|
||||
# And disallow the fallback for v1 auth
|
||||
<Location /v1/users/>
|
||||
Require all denied
|
||||
</Location>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user