fix url the match

master
Carlos Mogas da Silva 6 years ago
parent e1a93e7717
commit 668ea78a34
  1. 2
      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;

Loading…
Cancel
Save