Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank page if logged #32

Open
marcoturi opened this issue Jan 4, 2016 · 1 comment
Open

Blank page if logged #32

marcoturi opened this issue Jan 4, 2016 · 1 comment

Comments

@marcoturi
Copy link

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 ?

@marcoturi
Copy link
Author

Found the problem. It's related with nginx and varnish 4 (not 3).

http://serverfault.com/questions/745234/nginx-varnish-php-fpm-blank-pages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant