From 839307a1548d738143cf0922a27b99b643a2a152 Mon Sep 17 00:00:00 2001 From: h8h Date: Fri, 17 Oct 2014 14:52:32 +0200 Subject: [PATCH] Get the Owncloud API Calls working See #240 --- conf/nginx-primaryonly.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;