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: fix rewrite for /


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: fix rewrite for /api
Date: Fri, 02 Jun 2017 18:53:03 +0200

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 2675be8  fix rewrite for /api
2675be8 is described below

commit 2675be89942be8e420510051282bca241d0be48a
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jun 2 18:52:56 2017 +0200

    fix rewrite for /api
---
 etc/nginx/sites-enabled/docs-ssl.site | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/etc/nginx/sites-enabled/docs-ssl.site 
b/etc/nginx/sites-enabled/docs-ssl.site
index 18ead91..9e2aae9 100644
--- a/etc/nginx/sites-enabled/docs-ssl.site
+++ b/etc/nginx/sites-enabled/docs-ssl.site
@@ -20,6 +20,8 @@ server {
 
         location /api {
             root /home/docbuilder/api/_build/html;
+            rewrite ^/api[/]*$ /api/index.html last;
+            rewrite ^/api[/]+([^/]+)$ /$1 break;
         }
 
         location /current/merchant-backend {

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



reply via email to

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