diff --git a/playbooks/roles/mirror/templates/mirror.vhost.j2 b/playbooks/roles/mirror/templates/mirror.vhost.j2 index 44fa04e7fe..fe6e286df7 100644 --- a/playbooks/roles/mirror/templates/mirror.vhost.j2 +++ b/playbooks/roles/mirror/templates/mirror.vhost.j2 @@ -100,6 +100,7 @@ ErrorLogFormat "[%{cu}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% , \ # Rewrite the locations of the actual files SetOutputFilter INFLATE;SUBSTITUTE;DEFLATE + SubstituteMaxLineLength 5m Substitute "s|https://files.pythonhosted.org/|/pypifiles/|ni" @@ -251,6 +252,7 @@ ErrorLogFormat "[%{cu}t] [%-m:%l] [pid %P:tid %T] %7F: %E: [client\ %a] %M% , \ # Rewrite the locations of the actual files SetOutputFilter INFLATE;SUBSTITUTE;DEFLATE + SubstituteMaxLineLength 5m Substitute "s|https://files.pythonhosted.org/|/pypifiles/|ni"