diff --git a/playbooks/roles/mirror/templates/mirror.vhost.j2 b/playbooks/roles/mirror/templates/mirror.vhost.j2
index fe6e286df7..9a9a58df04 100644
--- a/playbooks/roles/mirror/templates/mirror.vhost.j2
+++ b/playbooks/roles/mirror/templates/mirror.vhost.j2
@@ -100,7 +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
+ SubstituteMaxLineLength 20m
Substitute "s|https://files.pythonhosted.org/|/pypifiles/|ni"
@@ -252,7 +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
+ SubstituteMaxLineLength 20m
Substitute "s|https://files.pythonhosted.org/|/pypifiles/|ni"