setting up proxy peers like HAproxy?

2016-04-22 Thread Florin Andrei
d up connecting to the same backend node. Is something like this doable with Nginx? -- Florin Andrei http://florin.myip.org/ ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: is it possible to use multiple sub_filter in one location?

2015-05-20 Thread Florin Andrei
I've solved it by recompiling Nginx to include the nginx_substitutions_filter module: https://github.com/yaoweibin/ngx_http_substitutions_filter_module This module allows multiple subs_filter statements per location. Seems to work just fine in my tests. -- Florin Andrei

is it possible to use multiple sub_filter in one location?

2015-05-20 Thread Florin Andrei
;;' '"pr":"https://pr-bar";'; sub_filter_once off; sub_filter_types *; } But I'm getting this: nginx: [emerg] "sub_filter" directive is duplicate in ... How do I replace multiple things in one location? Thanks. -- Florin Andrei http: