how add RewriteRule .* index.php in nginx

Francis Daly francis at daoine.org
Wed Apr 26 21:36:58 UTC 2017


On Wed, Apr 26, 2017 at 10:22:20AM -0400, e.htabar wrote:

Hi there,

> how set add " RewriteRule .* index.php " in nginx.conf for subfolder ?

You probably put the config in a suitable location{} block.

What config do you have right now that does most of what you want?

Do you "return" or "rewrite" or "try_files" or something else?

The best config depends on what else you want the system to do.

Cheers,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list