Get the Owncloud API Calls working

See #240
This commit is contained in:
h8h 2014-10-17 14:52:32 +02:00
parent 6585384daa
commit 839307a154
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
deny all; deny all;
} }
} }
location ~ ^(/cloud)(/[^/]+\.php)(/.*)?$ { location ~ ^(/cloud)(.+?\.php)(/.*)?$ {
# note: ~ has precendence over a regular location block # note: ~ has precendence over a regular location block
include fastcgi_params; include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/local/lib/owncloud/$2; fastcgi_param SCRIPT_FILENAME /usr/local/lib/owncloud/$2;