Module ngx_http_sub_module

Looking to make your web app faster? Look no further! NGINX Plus for HTTP load balancing, caching and SSL offload — Free 30-Day Trial . english русский 简体中文 עברית 日本語 türkçe italiano news about download security advisories documentation pgp keys faq links books support donation trac wiki twitter nginx.com blog Example Configuration Directives sub_filter sub_filter_last_modified sub_filter_once sub_filter_types The ngx_http_sub_module module is a filter that modifies a response by replacing one specified string by another. This module is not built by default, it should be enabled with the --with-http_sub_module configuration parameter. location / { sub_filter </head> '</head><script language="javascript" src="$script"></script>'; sub_filter_once on; } Syntax: sub_filter string replacement ; Default: — Context: http , server , location Set...

Linked on 2014-07-25 19:04:27 | Similar Links