Why, Docker, why? I thought we were friends
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
8ecd475e30
commit
9841d619fc
1 changed files with 4 additions and 0 deletions
|
@ -14,7 +14,11 @@ RewriteRule ^/v2/(.*)/blobs/([a-zA-Z0-9:]*) https://cdn.registry.fedoraproject.o
|
|||
|
||||
# This is terible, but Docker.
|
||||
RewriteCond %{REQUEST_METHOD} ^(PATCH|POST|PUT|DELETE)$
|
||||
{% if env == "staging" %}
|
||||
RewriteRule ^/(.*)$ http://docker-registry01:5000/$1 [P,L]
|
||||
{% else %}
|
||||
RewriteRule ^/(.*)$ http://localhost:10048/$1 [P,L]
|
||||
{% endif %}
|
||||
RewriteRule ^/(.*)$ http://localhost:6081/$1 [P,L]
|
||||
|
||||
SSLVerifyClient optional
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue