We want to modify the staging part
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
e0231b5090
commit
9829ff7358
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue