gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-deployment] branch master updated: remove old hack t


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: remove old hack to get relative redirections to work, and old 'exchange admin' endpoint.
Date: Wed, 27 Dec 2017 15:12:19 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new a876f10  remove old hack to get relative redirections to work, and old 
'exchange admin' endpoint.
a876f10 is described below

commit a876f10eb4b93a2ec567d3df8038825b2eef4964
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Dec 27 15:11:18 2017 +0100

    remove old hack to get relative redirections to
    work, and old 'exchange admin' endpoint.
---
 etc/nginx/sites-enabled/env.site | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/etc/nginx/sites-enabled/env.site b/etc/nginx/sites-enabled/env.site
index f506ec6..83dc81f 100644
--- a/etc/nginx/sites-enabled/env.site
+++ b/etc/nginx/sites-enabled/env.site
@@ -16,10 +16,6 @@ server {
   rewrite ^/(?<user>[a-zA-Z0-9-_]+)/(?<app>[a-zA-Z0-9-_]+)$ /$user/$app/ 
redirect;
   # add trailing slashes to user
   rewrite ^/(?<user>[a-zA-Z0-9-_]+)$ /$user/ redirect;
-  # relative redirect on landing lage
-  rewrite ^/(?<user>[a-zA-Z0-9-_]+)/redir_app_rel/(?<req>.*) /$user/$req 
redirect;
-  # relative redirect in apps
-  rewrite 
^/(?<user>[a-zA-Z0-9-_]+)/(?<app>[a-zA-Z0-9-_]+)/(.*/)?redir_app_rel/(?<req>.*) 
/$user/$app/$req redirect;
 
   # aliases to get from one page to the other
   rewrite ^/(?<user>[a-zA-Z0-9-_]+)/(?<app>[a-zA-Z0-9-_]+)/landing /$user/ 
redirect;
@@ -27,12 +23,6 @@ server {
   rewrite ^/(?<user>[a-zA-Z0-9-_]+)/(?<app>[a-zA-Z0-9-_]+)/shop /$user/shop 
redirect;
   rewrite ^/(?<user>[a-zA-Z0-9-_]+)/(?<app>[a-zA-Z0-9-_]+)/donations 
/$user/donations redirect;
 
-  location ~ ^/(?<user>[a-zA-Z0-9-_]+)/exchange/admin/(?<req>.*) {
-    proxy_pass http://unix:/home/$user/sockets/exchange-admin.http:/admin/$req;
-    proxy_redirect off;
-    proxy_set_header Host $host;
-  }
-
   location ~ ^/(?<user>[a-zA-Z0-9-_]+)/exchange/(?<req>.*) {
     proxy_pass 
http://unix:/home/$user/sockets/exchange.http:/$req$is_args$args;
     proxy_redirect off;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]