I think it would be neat to have an option or something for an Nginx static app to prevent access to PHP files. That way you could setup a simple cookie-less domain to serve static assets on by simply using a symlink to static app that points to a PHP apps document root.
I know this can be done for WordPress uploads folder, but then assets from plugins and core aren't able to benefit. And if you do a symlink to document root, PHP files are openly exposed and readable.
Thanks!