Merge pull request #490 from pkill/httpd-response-header-2.2-compat

Updating the Request Header directive for compatibility with httpd 2.2
This commit is contained in:
Stephen Day 2015-05-06 15:40:33 -07:00
commit 2a87663c19

View file

@ -44,8 +44,8 @@
ErrorLog ${APACHE_LOG_DIR}/registry_error_ssl_log ErrorLog ${APACHE_LOG_DIR}/registry_error_ssl_log
CustomLog ${APACHE_LOG_DIR}/registry_access_ssl_log combined env=!dontlog CustomLog ${APACHE_LOG_DIR}/registry_access_ssl_log combined env=!dontlog
Header set Host "registry.example.com" Header always set "Docker-Distribution-Api-Version" "registry/2.0"
Header set "Docker-Distribution-Api-Version" "registry/2.0" Header onsuccess set "Docker-Distribution-Api-Version" "registry/2.0"
RequestHeader set X-Forwarded-Proto "https" RequestHeader set X-Forwarded-Proto "https"
ProxyRequests off ProxyRequests off