From f1a3f5b933dab304a1360a916a017e5f7f19f48e Mon Sep 17 00:00:00 2001 From: Disassembler Date: Thu, 29 Jun 2017 21:08:12 +0200 Subject: [PATCH] Remove trailing slash from nginx paths --- sahana/etc/nginx/apps-available/sahana | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sahana/etc/nginx/apps-available/sahana b/sahana/etc/nginx/apps-available/sahana index 2f315d9..85891d4 100644 --- a/sahana/etc/nginx/apps-available/sahana +++ b/sahana/etc/nginx/apps-available/sahana @@ -1,4 +1,4 @@ -location /eden/ { +location /eden { uwsgi_pass unix:///run/uwsgi/app/sahana/socket; uwsgi_read_timeout 120s; uwsgi_send_timeout 120s; @@ -7,7 +7,7 @@ location /eden/ { uwsgi_param SERVER_SOFTWARE nginx/$nginx_version; } -location ~* /eden/static/ { - root /srv/sahana/applications/; +location ~* /eden/static { + root /srv/sahana/applications; expires max; }