We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I need to replace the host in the URL that in the body of the response to the current host like in this example from Nginx:
sub_filter '<img src="http://127.0.0.1:8080/' '<img src="https://$host/';
http://nginx.org/en/docs/http/ngx_http_sub_module.html
Any plan to add this feature? How I see from the code this feature can be implemented.
Syntax for example:
regex= "<img src="http://127.0.0.1:8080/" replacement = "<img src="https://%s/" replacementVariables = [req.Host]
Because of this I still need Nginx and http_sub_module
http_sub_module
The text was updated successfully, but these errors were encountered:
youkoulayley
Successfully merging a pull request may close this issue.
Hi,
I need to replace the host in the URL that in the body of the response to the current host like in this example from Nginx:
http://nginx.org/en/docs/http/ngx_http_sub_module.html
Any plan to add this feature?
How I see from the code this feature can be implemented.
Syntax for example:
Because of this I still need Nginx and
http_sub_module
The text was updated successfully, but these errors were encountered: