diff --git a/roles/docker-distribution-proxy/templates/docker-registry-vhost.conf.j2 b/roles/docker-distribution-proxy/templates/docker-registry-vhost.conf.j2
index b0044eac33..0814b67d44 100644
--- a/roles/docker-distribution-proxy/templates/docker-registry-vhost.conf.j2
+++ b/roles/docker-distribution-proxy/templates/docker-registry-vhost.conf.j2
@@ -30,11 +30,20 @@
ProxyPass /v2 http://localhost:5000/v2
ProxyPassReverse /v2 http://localhost:5000/v2
+ ProxyPass /_ping http://localhost:5000/_ping
+ ProxyPassReverse /_ping http://localhost:5000/_ping
+
+ # Allow ping to run unauthenticated.
+
+ Satisfy any
+ Allow from all
+
+
Order deny,allow
Allow from all
- AuthName "Registry Authentication"
{% if auth.type == "basic" %}
+ AuthName "Registry Authentication"
AuthType basic
AuthUserFile {{ auth.basic.userfile_dest }}
{% endif %}