From 668ea78a3419a2dfda64f9e9ef934a7d0cb162ba Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Mon, 22 Oct 2018 01:04:10 +0100 Subject: [PATCH] fix url the match --- default.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.conf b/default.conf index 3679d05..a111b6c 100644 --- a/default.conf +++ b/default.conf @@ -10,7 +10,7 @@ server { access_log /dev/stdout; error_log /dev/stdout info; - location ~ ^\/([^\/]+)\/([^\/]+)$ { + location ~ ^\/share_v2.php\/([^\/]+)\/([^\/]+)$ { fastcgi_pass unix:/var/run/php-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root/share_v2.php; fastcgi_param url_p1 $1;