Commit 6fdef379 authored by Joshua Tauberer's avatar Joshua Tauberer

owncloud: fix regex in nginx config

/cloud/index.php/apps/files/ajax/scan.php would not be parsed right because of two .php's
parent 8c9f2781
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment