Question about Varnish SSL setup
Following all advices i opted for install varnish to replace caching plugins on wordpress
I'm using myvesta (nginx+apache) so i read varnish doesn't support SSL by default and all ssl request need to be proxied from (443) back to varnish.
I tried setup nginx listening on port 443 and varnish on port 80 but i got error with SSL all the time (too many redirects, 404 pages and mixed content error) so the only way i manage to get it working was with aplying this way
nginx http/https > «cache - varnish http > https(redirect i think) apache
Now my question is if in this way is fine o is better run directly with apache? because varnish can receive all request from nginx which is lightweight and faster so i can only use apache on the backed for non-cached and expired requests. also i can setup custom nginx profiles to use sites without varnish (only nginx-apache).
pd: my goal is setup a full wp page cache to avoid mysql usage, tried all plugins and most still bypass widget queries.
Maybe is a obvious question but i had no friends to ask :c