diff --git a/conf/nginx.conf b/conf/nginx.conf index e7aa501..3ed7556 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -58,7 +58,7 @@ server { } } - location ~ ^(/cloud)(/.+\.php)(/.*)?$ { + location ~ ^(/cloud)(/[^/]+\.php)(/.*)?$ { # note: ~ has precendence over a regular location block include fastcgi_params; fastcgi_param SCRIPT_FILENAME /usr/local/lib/owncloud/$2;