Remove trailing slash from nginx paths

This commit is contained in:
Disassembler 2017-06-29 21:08:12 +02:00
parent 9843a5d94c
commit f1a3f5b933

View File

@ -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;
}