[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: avoid regex in /a
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: avoid regex in /api route, leads to weird 403 forbidden errors |
Date: |
Mon, 05 Jun 2017 21:33:29 +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 71215d4 avoid regex in /api route, leads to weird 403 forbidden errors
71215d4 is described below
commit 71215d4a43b212eba42bb0ad1c1f4f0f9d95c09c
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Jun 5 21:33:08 2017 +0200
avoid regex in /api route, leads to weird 403 forbidden errors
---
etc/nginx/sites-enabled/docs-ssl.site | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/etc/nginx/sites-enabled/docs-ssl.site
b/etc/nginx/sites-enabled/docs-ssl.site
index a258b15..477f1cb 100644
--- a/etc/nginx/sites-enabled/docs-ssl.site
+++ b/etc/nginx/sites-enabled/docs-ssl.site
@@ -42,7 +42,13 @@ server {
alias /home/docbuilder/merchant-frontend-examples;
}
- location ~ ^/(api|_static) {
+ location /api {
+ autoindex off;
+ alias /home/docbuilder/api/_build/html;
+ }
+
+ # Associated to /api route.
+ location /_static {
alias /home/docbuilder/api/_build/html;
}
--
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: avoid regex in /api route, leads to weird 403 forbidden errors,
gnunet <=