Answer the question
In order to leave comments, you need to log in
How to make friends gzip and sub_filter in nginx?
For example, this is the config:
gzip off;
location / {
sub_filter_once off;
sub_filter 'aaa' 'bbb';
include /etc/nginx/proxy.conf;
proxy_set_header Accept-Encoding "";
proxy_pass http://127.0.0.1:8080;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question