[Discuss] nginx and multi-lingual static pages

Robert La Ferla robert at laferla.net
Sun Nov 2 12:40:06 EST 2014


FYI - The solution is to use  set_from_accept_language (requires module) and try_files.

On Nov 1, 2014, at 10:37 AM, Robert La Ferla <robert at laferla.net> wrote:

> What’s the easiest way to configure nginx to handle static multi-lingual content (English, Spanish, etc…)?
> 
> And what’s the preferred design for the content?  ie.  (a) use a single directory with localized versions for each html file  or (b) use a different directory for each language (en,fr,de, etc…)
> 
> I seem to recall using mod_mime on Apache many years ago to do this.
> 
> Thanks!
> 




More information about the Discuss mailing list