“unknown directive rewrite_by_lua” : How to fix this error? When you work with Nginx, a powerful feature is to take advantage of Lua scripting language directly in your configuration files. You can come across solutions that involve Lua scripting. If your setup doesn’t include Lua module, you’ll get an error message like this in nginx …
Nginx
Nginx: mass permanent redirects
When I say “mass”, I mean reasonable amount of redirects, like a couple of thousands. I had to migrate a blog to a new URL structure. This migration led to create about 600+ unique redirects without any shared patterns. To solve this, I used a nginx configuration file containing all the redirects and I included …