From nginus, 8 Years ago, written in Plain Text.
Embed
  1. location ~ [^/]\.php(/|$) {
  2.                 fastcgi_split_path_info ^(.+?\.php)(/.*)$;
  3.                 if (!-f $document_root$fastcgi_script_name) {
  4.                         return 404;
  5.                 }
  6.  
  7.                 fastcgi_pass 127.0.0.1:9000;
  8.                 fastcgi_index index.php;
  9.                 include fastcgi_params;
  10.         }