Hi,
I'm using the varnish 4 file for wordpress. Those 2 lines seems to be responsable of blank pages for logged users.
# Check the cookies for wordpress-specific items
if (req.http.Cookie ~ "wordpress_" || req.http.Cookie ~ "comment_") {
#return (pass); <- THIS
}
if (!req.http.cookie) {
unset req.http.cookie;
}
# --- End of Wordpress specific configuration
# Did not cache HTTP authentication and HTTP Cookie
if (req.http.Authorization || req.http.Cookie) {
# Not cacheable by default
#return (pass); <- AND THIS
}
I'm using nginx and apache with a configuration a little bit different from this repository.
How can i fix it ?
Hi, I'm using the varnish 4 file for wordpress. Those 2 lines seems to be responsable of blank pages for logged users.
I'm using nginx and apache with a configuration a little bit different from this repository. How can i fix it ?