Created
March 2, 2016 11:12
-
-
Save wutupake/862ac654f6993720f83c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub vcl_fetch { | |
# Drop any cookies WordPress (except for wp-login/wp-admin) tries to send back to the client. | |
if (!(req.url ~ "wp-(login|admin)")) { | |
unset beresp.http.set-cookie; | |
} | |
} | |
sub vcl_recv { | |
# Drop any cookies sent to WordPress. | |
if ( ! ( req.url ~ "wp-(login|admin)" ) ) { | |
unset req.http.cookie; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment