Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
Update apache confing to return signed schema1 mediatype.
Browse files Browse the repository at this point in the history
closes #4364
https://pulp.plan.io/issues/4384

(cherry picked from commit 27ae9fc)
  • Loading branch information
ipanova authored and pcreech committed Mar 19, 2019
1 parent d09e8b4 commit a06efd7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plugins/etc/httpd/conf.d/pulp_docker.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ Alias /pulp/docker/v2 /var/www/pub/docker/v2/web
SSLRequireSSL
Options FollowSymlinks Indexes
</Directory>
<Directory /var/www/pub/docker/v2/web/*/manifests/1>
Header set Docker-Distribution-API-Version "registry/2.0"
Header set Content-Type "application/vnd.docker.distribution.manifest.v1+prettyjws"
SSLRequireSSL
Options FollowSymlinks Indexes
</Directory>

<Directory /var/www/pub/docker/v2/web/*/manifests/2>
Header set Docker-Distribution-API-Version "registry/2.0"
Header set Content-Type "application/vnd.docker.distribution.manifest.v2+json"
Expand Down

0 comments on commit a06efd7

Please sign in to comment.