This module can search and replace text in nginx response. To use this module you must specify the following compilation parameters at compile time:
location /{ sub_filter </head> '</head><script language="javascript
" src=" ;$script"></script>'; sub_filter_once on;}
Instruction sub_filter Syntax: sub_filter text substitution Default value: none Use field: http, server, location directive allows to replace some text in nginx response body to For other values, the match is not case sensitive, the replacement text can contain variables, and only one replacement rule can be specified in each location. Sub_filter_once syntax: sub_filter_once on|
Off default value: sub_filter_once on use field: http, server, location set to off will replace all matching fields that appear in the response, the default will only replace the first occurrence of the matching value. Sub_filter_types Syntax: sub_filter_types mime-type [mime-type …] Default: sub_filter_types text/html Use fields: http, server, location Set sub_filter to check the included MIME type, the default is only text/html.
DevOps is the key to more and more large companies and organizations, so it is important for us to r
Starting today, I officially entered the development of tiny4412. Today I mainly watched the startu
process represents a running instance of a program that is the smallest unit of allocated resources.
One of the best things about Linux is that you can go deep into the operating system to explore how
How to remove the alarm sound of Linux
Device model bus, driver, device basic tutorial
VIM block indentation and replacement
The difference between LINUX and WINDOWS kernels
Correctly set windows server 2008 remote desktop
CCIE technical theory study recommendations
The difference between git pull and git fetch
Data transmission on the link layer of the linux protocol stack - data reception
Where is the win7 computer dns modified setting
Win10 Build 14905 updated what
Windows7 "Qian Jing" is not known Use habits to restrict Win7 promotion
Quickly clean up the trash win7 has a trick
Ways to reduce the footprint of WPS documents
Windows 8 can't open Dolby sound solution
Windows XP in-depth analysis of BOOT.INI
Win8 computer uses the router to limit the speed of the network