Hello,
thank you for reply.
It should not check files every request. It can cache it.
Or will it be easier to use file with list of redirects in site root (aka .htaccess with Apache) in NginX config syntax? But it have to check if there are only safe rules, because users who can change it are not trusted. Server also should watch this file and reload config if it was changed.
I also prefer solution where I don't have to maintain custom code.
thank you for reply.
It should not check files every request. It can cache it.
Or will it be easier to use file with list of redirects in site root (aka .htaccess with Apache) in NginX config syntax? But it have to check if there are only safe rules, because users who can change it are not trusted. Server also should watch this file and reload config if it was changed.
I also prefer solution where I don't have to maintain custom code.