Conditions: - I don't want to use IF conditions in Nginx conf. - Hoping to try this via `try_files` alone, including a pattern match? - The PHP code on my site does not have any `.php` extensions (Apache currently has a default handler of PHP, so even without extensions, it's PHP that's executed) My rewrite rules: <code> RewriteEngine On # --------| MAIN DOMAby morespinach - Migration from Other Servers
I am sure this is a question many beginner sysadmins like me have, and many more advanced people have already put this in place: CURRENT PLATFORM: Nginx proxying to Apache, which manages PHP (Prefork), along with httpasswd (folder authentication), mod_security, mod_geoip, mod_dosevasive, mod_bwunlimited. Most are Wordpress domains, but one heavily customized rewriterule domain. DESIRED PLAby morespinach - Migration from Other Servers