|
|
|
|
|
by megaman821
4267 days ago
|
|
a) I just let Nginx do the redirect. Varnish can cache 302's so after the first one it won't hit Nginx again until the cache times out. b) You have to terminate SSL connections before hitting Varnish. There is very little chance SSL termination will ever be part of Varnish. On AWS you can terminate with ELB. c) Varnish can add HTTP headers and it will respect the headers your backend sets. d) Varnish can disable caching for a specific path or again it will respect the No-Cache headers a backend sets. |
|
Or is it nginx (SSL termination) -> varnish -> nginx (server) -> Rails