Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sub_filter #1783

Closed
panaris opened this issue Jan 20, 2022 · 1 comment
Closed

sub_filter #1783

panaris opened this issue Jan 20, 2022 · 1 comment

Comments

@panaris
Copy link

panaris commented Jan 20, 2022

Is your feature request related to a problem? Please describe.
I want to be able to replace footer copyrights.

Describe the solution you'd like
Just enable the ngx_http_sub_module http://nginx.org/en/docs/http/ngx_http_sub_module.html

Describe alternatives you've considered
Not always easy to modify the copyright otherwise especially when working with docker.

@BananaAcid
Copy link

BananaAcid commented May 6, 2022

The module seems to be enabled, and is useable. (I am using it in the Advanced tab directly and additionally within a location tab)

example

proxy_set_header Accept-Encoding "";
sub_filter_types text/html;
sub_filter '127.0.0.1' 'localhost' ;
sub_filter_once off;

@panaris panaris closed this as completed Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants