summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-12-05 15:39:10 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-12-05 15:39:10 +0100
commit0a182e15eb814d61ae34370f9e47ab8b093ee9ae (patch)
tree041ac3c6841d89e64737bbae77c66b669a01978a
parent0e1f9cbc76f5700bba9c9abc0436118fec32c5a0 (diff)
downloaddeployment-0a182e15eb814d61ae34370f9e47ab8b093ee9ae.tar.gz
deployment-0a182e15eb814d61ae34370f9e47ab8b093ee9ae.tar.bz2
deployment-0a182e15eb814d61ae34370f9e47ab8b093ee9ae.zip
Serving reports under "shared-data" directory.
-rw-r--r--etc/nginx/sites-enabled/test.site3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/nginx/sites-enabled/test.site b/etc/nginx/sites-enabled/test.site
index a5158e5..208fa06 100644
--- a/etc/nginx/sites-enabled/test.site
+++ b/etc/nginx/sites-enabled/test.site
@@ -71,8 +71,7 @@ server {
}
location /reports {
- rewrite "^/reports/(.*)" /$1 break;
- root /home/test/reports;
+ root /home/test/shared-data/auditor;
}
location / {