Switch candidate registry to basic auth

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2018-06-08 09:19:03 +00:00
parent f7a0fe0694
commit d89298457c

View file

@ -6,16 +6,10 @@ ProxyPreserveHost On
ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}} ProxyPass {{ localpath }} {{ proxyurl }}{{remotepath}}
ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}} ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
SSLVerifyClient optional
SSLVerifyDepth 1
SSLCACertificateFile /etc/pki/httpd/registry-ca-{{env}}.cert
SSLOptions +FakeBasicAuth
<Location /v2> <Location /v2>
Order deny,allow Order deny,allow
Allow from all Allow from all
AuthName "Registry Authentication" AuthName "Candidate Registry Authentication"
AuthType Basic AuthType Basic
AuthUserFile /etc/httpd/conf.d/candidate-registry.fedoraproject.org/passwd AuthUserFile /etc/httpd/conf.d/candidate-registry.fedoraproject.org/passwd