diff --git a/conf/nginx-primaryonly.conf b/conf/nginx-primaryonly.conf index 56307ee5..8bd6b44f 100644 --- a/conf/nginx-primaryonly.conf +++ b/conf/nginx-primaryonly.conf @@ -18,7 +18,7 @@ deny all; } } - 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;