Mitigate log4shell (CVE-2021-44228) vulnerability attacks using Nginx LUA script
Requires the Nginx lua module (https://www.nginx.com/resources/wiki/modules/lua/) to be enabled.
Use include /path/to/mitigate-log4shell.conf;
in the server {...}
context. Can be included in multiple server contexts.
More information in our blog article: https://www.infiniroot.com/blog/1155/using-nginx-lua-script-mitigate-log4shell-cve-2021-44228-vulnerability .