[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: put map in http b
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: put map in http block |
Date: |
Sat, 16 Dec 2017 21:13:28 +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 02127c8 put map in http block
02127c8 is described below
commit 02127c819dbc0e0d8fdb3a6f8314fea1a4856890
Author: Florian Dold <address@hidden>
AuthorDate: Sat Dec 16 21:13:23 2017 +0100
put map in http block
---
etc/nginx/nginx.conf | 8 ++++++++
etc/nginx/sites-enabled/www-ssl.site | 8 --------
etc/nginx/sites-enabled/www-stage.site | 8 --------
3 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf
index cc74255..8ac37f3 100644
--- a/etc/nginx/nginx.conf
+++ b/etc/nginx/nginx.conf
@@ -53,6 +53,14 @@ 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;
+ map $http_accept_language $index_redirect_uri {
+ default "/en/";
+ ~en "/en/";
+ ~de "/de/";
+ ~fr "/fr/";
+ ~es "/it/";
+ }
+
##
# Virtual Host Configs
##
diff --git a/etc/nginx/sites-enabled/www-ssl.site
b/etc/nginx/sites-enabled/www-ssl.site
index 47a01a9..6383d18 100644
--- a/etc/nginx/sites-enabled/www-ssl.site
+++ b/etc/nginx/sites-enabled/www-ssl.site
@@ -9,14 +9,6 @@ server {
server_name www.taler.net;
include conf.d/talerssl;
- map $http_accept_language $index_redirect_uri {
- default "/en/";
- ~en "/en/";
- ~de "/de/";
- ~fr "/fr/";
- ~es "/it/";
- }
-
location / {
root /home/docbuilder/www.taler.net;
autoindex off;
diff --git a/etc/nginx/sites-enabled/www-stage.site
b/etc/nginx/sites-enabled/www-stage.site
index 6a15495..555e60d 100644
--- a/etc/nginx/sites-enabled/www-stage.site
+++ b/etc/nginx/sites-enabled/www-stage.site
@@ -21,14 +21,6 @@ server {
server_name stage.taler.net;
include conf.d/talerssl;
- map $http_accept_language $index_redirect_uri {
- default "/en/";
- ~en "/en/";
- ~de "/de/";
- ~fr "/fr/";
- ~es "/it/";
- }
-
location / {
root /home/docbuilder/stage.taler.net;
autoindex off;
--
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: put map in http block,
gnunet <=