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: nginx _static api


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: nginx _static api hack
Date: Mon, 05 Jun 2017 18:07:04 +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 60233f5  nginx _static api hack
60233f5 is described below

commit 60233f5184a02428bed96ffb2126d35ca75d05c7
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Jun 5 18:06:52 2017 +0200

    nginx _static api hack
---
 etc/nginx/sites-enabled/docs-ssl.site | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/nginx/sites-enabled/docs-ssl.site 
b/etc/nginx/sites-enabled/docs-ssl.site
index 9e2aae9..35e3072 100644
--- a/etc/nginx/sites-enabled/docs-ssl.site
+++ b/etc/nginx/sites-enabled/docs-ssl.site
@@ -18,7 +18,7 @@ server {
 #          ssi_last_modified on;
        }
 
-        location /api {
+        location ~ ^/(api|_static) {
             root /home/docbuilder/api/_build/html;
             rewrite ^/api[/]*$ /api/index.html last;
             rewrite ^/api[/]+([^/]+)$ /$1 break;

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



reply via email to

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