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: using handier 'al


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: using handier 'alias' for /api
Date: Mon, 05 Jun 2017 21:13:17 +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 6c98769  using handier 'alias' for /api
6c98769 is described below

commit 6c98769e15796a8ddcdc4bb24bd2b66790c96624
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Jun 5 21:13:06 2017 +0200

    using handier 'alias' for /api
---
 etc/nginx/sites-enabled/docs-ssl.site | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/etc/nginx/sites-enabled/docs-ssl.site 
b/etc/nginx/sites-enabled/docs-ssl.site
index 3e413ae..a258b15 100644
--- a/etc/nginx/sites-enabled/docs-ssl.site
+++ b/etc/nginx/sites-enabled/docs-ssl.site
@@ -43,9 +43,7 @@ server {
         }
 
         location ~ ^/(api|_static) {
-            root /home/docbuilder/api/_build/html;
-            rewrite ^/api[/]*$ /api/index.html last;
-            rewrite ^/api[/]+([^/]+)$ /$1 break;
+            alias /home/docbuilder/api/_build/html;
         }
 
         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]