From d38fcda214f5cb4d6492ad3dd1e4879c4e40eea2 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 21 Feb 2019 11:26:49 -0800 Subject: [PATCH] Improve comments in docker proxy config This comment was unclear. Replace it with some potentially more useful comments. Change-Id: Ib9215eb33f01e1ed2b4be394d2d43ab72f37ee50 --- modules/openstack_project/templates/mirror.vhost.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/openstack_project/templates/mirror.vhost.erb b/modules/openstack_project/templates/mirror.vhost.erb index a53bea84d7..80f4acc03f 100644 --- a/modules/openstack_project/templates/mirror.vhost.erb +++ b/modules/openstack_project/templates/mirror.vhost.erb @@ -283,6 +283,7 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a +# Docker registry v1 proxy. :8081> ServerName <%= @srvname %>:8081 <% if @serveraliases.is_a? Array -%> @@ -345,6 +346,7 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a +# Docker registry v2 proxy. :8082> ServerName <%= @srvname %>:8082 <% if @serveraliases.is_a? Array -%> @@ -400,9 +402,6 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a ProxyPass "/cloudflare/" "https://production.cloudflare.docker.com/" ttl=120 keepalive=On retry=0 ProxyPassReverse "/cloudflare/" "https://production.cloudflare.docker.com/" - # NOTE(SamYaple): Docker has historically not allowed to have anything in - # the URI, but it wasn't enforced until they started validating the config - # in docker-ce 17.10. Prior to that, it was working fine. # NOTE(corvus): Ensure this stanza is last since it's the most # greedy match. CacheEnable disk "/"