location /eden { uwsgi_pass unix:///run/uwsgi/app/sahana/socket; uwsgi_read_timeout 300s; uwsgi_send_timeout 300s; include uwsgi_params; uwsgi_param UWSGI_SCHEME $scheme; uwsgi_param SERVER_SOFTWARE nginx/$nginx_version; } location ~* /eden/static { root /srv/sahana/applications; expires max; }