[webwml/master] Update mirroring instructions based on feedback by weasel

commit 859376f8c12721d11317f91d8b3cc94fe838fc22 Author: Sebastian Hahn <sebastian@torproject.org> Date: Sun Oct 19 13:35:37 2014 +0200 Update mirroring instructions based on feedback by weasel --- docs/en/running-a-mirror.wml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/en/running-a-mirror.wml b/docs/en/running-a-mirror.wml index 056fad1..371566b 100644 --- a/docs/en/running-a-mirror.wml +++ b/docs/en/running-a-mirror.wml @@ -25,8 +25,10 @@ everything a mirror should share with the world: <br> <br> <tt> - rsync -av --exclude 'dist'--delete rsync://rsync.torproject.org/website-mirror tor-mirror/ + <pre> + rsync -av --exclude 'dist' --delete rsync://rsync.torproject.org/website-mirror tor-mirror/ rsync -av --delete rsync://rsync.torproject.org/dist-mirror tor-mirror/dist/ + </pre> </tt> <p> @@ -92,7 +94,7 @@ root /var/www/mirrors/torproject.org; index index.html.en; - location ^~ /dist/ { + location / { autoindex on; } }
participants (1)
-
sebastian@torproject.org