yaoweibin / ngx_http_substitutions_filter_module

a filter module which can do both regular expression and fixed string substitutions for nginx
607 stars 213 forks source link

Add variable and insensitive support for none regex mode. #16

Closed cuber closed 9 years ago

cuber commented 9 years ago
  1. make subs_filter http://$host https://$host; possible.
  2. in none regex mode, use ngx_strlcasestrn to avoid regex during insensitive substitutions.
yaoweibin commented 9 years ago

Thank you. It looks good to me.