Re: Static content and Front Controller pattern under same base URI

2019-10-18 Thread J.R.
> I'm not a big fan of the location that sets the 418 error_page to the > @foo_front_controller named location, but I don't know of any other way > to essentially do a "return @foo_front_controller". Is there a better > way? Use "try_files" instead with a filename that will never exist (i.e.

Static content and Front Controller pattern under same base URI

2019-10-17 Thread J. Lewis Muir
Hello, nginxers! What's the best way to server static content as well as dynamic content that uses the Front Controller pattern under the same base URI? I'm dealing with a web app partially written in PHP that expects to serve static content as well as dynamic PHP content, using the Front