Remove trailing slash from nginx paths
This commit is contained in:
parent
9843a5d94c
commit
f1a3f5b933
@ -1,4 +1,4 @@
|
|||||||
location /eden/ {
|
location /eden {
|
||||||
uwsgi_pass unix:///run/uwsgi/app/sahana/socket;
|
uwsgi_pass unix:///run/uwsgi/app/sahana/socket;
|
||||||
uwsgi_read_timeout 120s;
|
uwsgi_read_timeout 120s;
|
||||||
uwsgi_send_timeout 120s;
|
uwsgi_send_timeout 120s;
|
||||||
@ -7,7 +7,7 @@ location /eden/ {
|
|||||||
uwsgi_param SERVER_SOFTWARE nginx/$nginx_version;
|
uwsgi_param SERVER_SOFTWARE nginx/$nginx_version;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* /eden/static/ {
|
location ~* /eden/static {
|
||||||
root /srv/sahana/applications/;
|
root /srv/sahana/applications;
|
||||||
expires max;
|
expires max;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user