This needs to be under Location

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-04-12 16:21:25 +00:00
parent af3a270f2c
commit b14a7b3b1b

View file

@ -10,7 +10,6 @@ SSLVerifyClient optional
SSLVerifyDepth 1 SSLVerifyDepth 1
SSLCACertificateFile /etc/pki/httpd/fedora-server-ca.cert SSLCACertificateFile /etc/pki/httpd/fedora-server-ca.cert
SSLOptions +FakeBasicAuth SSLOptions +FakeBasicAuth
AuthUserFile /etc/httpd/conf.d/register.fedoraproject.org/passwd
<Location /v2> <Location /v2>
@ -18,6 +17,7 @@ AuthUserFile /etc/httpd/conf.d/register.fedoraproject.org/passwd
Allow from all Allow from all
AuthName "Registry Authentication" AuthName "Registry Authentication"
AuthType Basic AuthType Basic
AuthUserFile /etc/httpd/conf.d/register.fedoraproject.org/passwd
# Anyone can read # Anyone can read
<Limit GET HEAD> <Limit GET HEAD>