#
# Apache configuration file for Pulp's Docker support
#
# -- HTTPS Repositories ---------
# This prevents mod_mime_magic from adding content-type and content-encoding headers, which will confuse the Docker
# client.
MimeMagicFile NEVER_EVER_USE
# Docker v2
Alias /pulp/docker/v2 /var/www/pub/docker/v2/web
Header set Docker-Distribution-API-Version "registry/2.0"
SSLRequireSSL
Options FollowSymlinks Indexes
Header set Docker-Distribution-API-Version "registry/2.0"
Header set Content-Type "application/vnd.docker.distribution.manifest.v2+json"
SSLRequireSSL
Options FollowSymlinks Indexes
Header set Docker-Distribution-API-Version "registry/2.0"
Header set Content-Type "application/vnd.docker.distribution.manifest.list.v2+json"
SSLRequireSSL
Options FollowSymlinks Indexes
# Docker v1
Alias /pulp/docker/v1 /var/www/pub/docker/v1/web
SSLRequireSSL
Options FollowSymLinks Indexes