On Mon, Aug 12, 2013 at 11:58 AM, <[email protected]> wrote: > What if there is several domain names and the response depends on the > domain? > > Will Varnish pass the request domain name on to tomcat and apache?
Yes. Varnish will send the request to the backend as it received. This includes the Host header that specifies the domain name. We set up a custom header in vcl_fetch only if it's a 404 status and the backend is the java one. If you need, you can add as many conditions as you like to the logic and it'll fallback to the php backend. -- []'s Hugo www.devin.com.br _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
