replace-filter-nginx-module icon indicating copy to clipboard operation
replace-filter-nginx-module copied to clipboard

Not working when try to match script tag in html

Open guorenxi opened this issue 7 years ago • 0 comments

The Text:

The Regex Expression: <script.slick.>.*

The Conf:

location / { #proxy_ssl_server_name on; proxy_connect_timeout 60s; proxy_read_timeout 5400s; proxy_send_timeout 5400s; proxy_pass http://xxx.net/; proxy_ssl_verify off; #proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host "xxx.net"; proxy_set_header User-Agent $http_user_agent; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Accept-Encoding ''; replace_filter '<script.slick.>.*' '' g; replace_filter_max_buffered_size 1024k; }

Nginx Version nginx/1.14.0

Please help.

Thanks.

guorenxi avatar May 27 '18 17:05 guorenxi