We want to modify the staging part

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-06-30 15:27:36 +00:00
parent e0231b5090
commit 9829ff7358

View file

@ -16,10 +16,11 @@ RewriteRule ^/v2/(.*)/blobs/([a-zA-Z0-9:]*) https://cdn.registry.fedoraproject.o
RewriteCond %{REQUEST_METHOD} ^(PATCH|POST|PUT|DELETE)$
{% if env == "staging" %}
RewriteRule ^/(.*)$ http://docker-registry01:5000/$1 [P,L]
RewriteRule ^/(.*)$ http://localhost:6081/$1 [P,L]
{% else %}
RewriteRule ^/(.*)$ http://localhost:10048/$1 [P,L]
{% endif %}
RewriteRule ^/(.*)$ http://localhost:6081/$1 [P,L]
{% endif %}
SSLVerifyClient optional
SSLVerifyDepth 1