multiple replacements with http_sub_module?

姚伟斌 nbubingo at gmail.com
Thu Aug 9 05:03:11 UTC 2012


Try my substitutions module:

https://github.com/yaoweibin/ngx_http_substitutions_filter_module

2012/8/8 Christian Bönning <christian.boenning at gmail.com>:
> Hi,
>
> is there any way to ship around the limitation that only a single
> `sub_filter` directive is supported per location?
>
> In fact I want/need to replace 3 "strings" (/fileadmin/, /typo3conf/
> and /typo3temp/) within my root-location and "move" the requests over
> to absolute servernames (like a cdn) by the time the response is
> running through my frontend lb.
>
> Any ideas how to accomplish that?
>
> Regards,
> Christian
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list