I've just created a configuration composed of two servers. Both just forwards traffic from different ports (and protocols) to different servers, and keep responses in cache. It works nice. For both servers "GET /" request is sent, in the response there is proper resource. Thus (to distinguish responses in the cache) I added for both cache_key: proxy_cache_key "$upstream_addr*by sz_g - Nginx Mailing List - English
I'm a programmer busy with implementing "smart" proxy to simulate crowd of hardware devices. A lot of functions (proxy, cache, load balancers, SSL, custom filters, special handlers) will be used. Currently I do 'stress tests' for the software.. Best regards, Jarek.by sz_g - New Member Introductions