[tor-mirrors] Running a Mirror using nginx
andrew at torproject.org
Sun Sep 18 21:15:32 UTC 2011
On Friday, September 16, 2011 16:28:29 Robin Buse wrote:
> I'm running a mirror using nginx - cronjob works and /dist is viewable.
> The problem is that nginx apparently isn't supporting something like
> multiviews for language localization.
> Is there a workaround for that? Otherwise it says 403 since there's no
> (defined) index file.
In the past, I had to add all of the language files to mime.types defined as
html pages. Such that html.en, pl, ar, fa, ru, etc were all served up as html.
You could also define index.html.en as a default index file, because at least
that language will always exist.
More information about the tor-mirrors