Francis,
I ended up coming up with this solution:
map $request_uri $request_basename {
~/(?[^/?]*)(?:\?|$)
$captured_request_basename;
}
server [
try_files $uri $uri/ @rewrite;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
Hello folks!
I am happy to announce that the new mainline version of ngx_openresty,
1.4.2.7, is now released:
http://openresty.org/#Download
Special thanks go to all the contributors for making this happen!
Below is the complete change log for this release, as compared to the
last (mainline