Merge "Handle containers with no namespace"
This commit is contained in:
commit
bdff2f28ab
|
@ -28,4 +28,14 @@ Listen {{ tripleo_container_registry_port }}
|
||||||
Header set Cache-Control "max-age=31536000"
|
Header set Cache-Control "max-age=31536000"
|
||||||
Header set Content-Type "application/octet-stream"
|
Header set Content-Type "application/octet-stream"
|
||||||
</LocationMatch>
|
</LocationMatch>
|
||||||
|
|
||||||
|
<LocationMatch "^/v2/.*/blobs/sha256:.*$">
|
||||||
|
SetEnvIf Request_URI "sha256:(.*)$" digest=sha256:$1
|
||||||
|
Header set Docker-Content-Digest "%{digest}e"
|
||||||
|
Header set ETag "%{digest}e"
|
||||||
|
Header set Cache-Control "max-age=31536000"
|
||||||
|
Header set Content-Type "application/octet-stream"
|
||||||
|
</LocationMatch>
|
||||||
|
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
Loading…
Reference in New Issue