[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: comment / fix sla
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: comment / fix slashes |
Date: |
Sat, 16 Dec 2017 21:15:06 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new cee6d59 comment / fix slashes
cee6d59 is described below
commit cee6d591b58db2bbb99d785252efaf0cf2795229
Author: Florian Dold <address@hidden>
AuthorDate: Sat Dec 16 21:15:02 2017 +0100
comment / fix slashes
---
etc/nginx/nginx.conf | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf
index 8ac37f3..e397fed 100644
--- 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";
}
##
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-deployment] branch master updated: comment / fix slashes,
gnunet <=