Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] nginx and multi-lingual static pages



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!
> 




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org