taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit cee6d591b58db2bbb99d785252efaf0cf2795229
parent 02127c819dbc0e0d8fdb3a6f8314fea1a4856890
Author: Florian Dold <florian.dold@gmail.com>
Date:   Sat, 16 Dec 2017 21:15:02 +0100

comment / fix slashes

Diffstat:
Metc/nginx/nginx.conf | 13++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf @@ -53,12 +53,15 @@ http { # gzip_http_version 1.1; # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; + # This isn't entirely correct since it does + # not consider the weighting of languages, but + # for now it's good enough. map $http_accept_language $index_redirect_uri { - default "/en/"; - ~en "/en/"; - ~de "/de/"; - ~fr "/fr/"; - ~es "/it/"; + default "en"; + ~en "en"; + ~de "de"; + ~fr "fr"; + ~es "it"; } ##