Nginx 1.18 - sub_filter + if statement

J.R. themadbeaker at gmail.com
Thu Sep 10 23:38:38 UTC 2020


Check the 'context' for the sub_filter directives you are trying to
use. They do not say they can be used with 'if'.

http://nginx.org/en/docs/http/ngx_http_sub_module.html

Also worth reading about using 'if':

https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/


More information about the nginx mailing list