Merge "image-serve: redirect root to /v2"

This commit is contained in:
Zuul 2019-02-21 16:08:31 +00:00 committed by Gerrit Code Review
commit 377ab9f38f
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ Listen {{ container_registry_port }}
ServerSignature Off
CustomLog "/var/log/httpd/image_serve_access.log" combined
SetEnvIf X-Forwarded-Proto https HTTPS=1
RedirectMatch ^/$ /v2
<Directory {{ image_data_dir }}>
# This assumes a file exists containing {} at