- # ...
- # admin users always miss the cache
- if( req.url ~ "^/wp-(login|admin)" || req.http.Cookie ~ "wordpress_logged_in_" ){
- return (pass);
- }
- # ignore any other cookies
- unset req.http.Cookie;
- return (lookup);
- # Ajax isteklerini dahil etme - Wordpress
- if (req.http.X-Requested-With) {
- return(pass);
- }
- # if (req.http.host == "dunya.com") {
- # set req.http.host = "dunya.com";
- # set req.backend = domain1;
- # return (lookup);
- # }
- # if (req.http.host == "mars.com") {
- # set req.http.host = "mars.com";
- # set req.backend
Stikked
