Disable for now, but keep around

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-01-14 18:40:44 +00:00
parent a7d6b0052f
commit dd905e5917
2 changed files with 2 additions and 3 deletions

View file

@ -550,13 +550,12 @@
website: registry.fedoraproject.org
destname: registry
proxyurl: http://localhost:10048
when: env == "production"
- role: httpd/reverseproxy
website: registry.fedoraproject.org
destname: registry
proxyurl: "{{ varnish_url }}"
when: env == "staging"
when: env == "maybe-staging"
- role: httpd/reverseproxy
website: candidate-registry.fedoraproject.org

View file

@ -3,7 +3,7 @@ RequestHeader set X-Scheme https early
RequestHeader set X-Forwarded-Proto https early
ProxyPreserveHost On
{% if env == "staging" %}
{% if env == "maybe-in-staging" %}
RewriteRule ^/v2/([a-zA-Z]*)/blobs/([a-zA-Z]*) https://ourregistry/v2/$1/blobs/$2 [R]
{% endif %}