SHARE
TWEET

Untitled

a guest Jul 17th, 2017 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  backend default {
  2.      .host = "127.0.0.1";
  3.      .port = "8000";
  4.  }
  5.  
  6. sub vcl_recv {
  7.   if ( !( req.url ~ "^/admin/") ) {
  8.    unset req.http.Cookie;
  9.   } else {
  10.   return (pass);
  11.   }
  12. }
  13. sub vcl_fetch {
  14.     if (req.url ~ "^/xml-feed") {
  15.         set beresp.ttl = 1h;
  16.     }
  17. }
  18.  
  19.  
  20. -------------------------
  21. 13 SessionOpen  c 70.166.89.53 55660 :6081
  22.    13 ReqStart     c 70.166.89.53 55660 518475464
  23.    13 RxRequest    c GET
  24.    13 RxURL        c /offers?category=movies&subcategory=videos&maxwidth=500&maxheight=500&type=html&market=us&asdhg&fffasdfffff
  25.    13 RxProtocol   c HTTP/1.1
  26.    13 RxHeader     c Host: 184.106.178.21:6081
  27.    13 RxHeader     c User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b10pre) Gecko/20110120 Firefox-4.0/4.0b10pre
  28.    13 RxHeader     c Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  29.    13 RxHeader     c Accept-Language: en-us,en;q=0.5
  30.    13 RxHeader     c Accept-Encoding: gzip, deflate
  31.    13 RxHeader     c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
  32.    13 RxHeader     c Keep-Alive: 115
  33.    13 RxHeader     c Connection: keep-alive
  34.    13 RxHeader     c Cookie: csrftoken=24f3ac8596a67d09a7cea365ec6d241a; sessionid=ff0dc79e23d2472d2699997748edaf02
  35.    13 VCL_call     c recv
  36.    13 VCL_return   c lookup
  37.    13 VCL_call     c hash
  38.    13 VCL_return   c hash
  39.    13 VCL_call     c miss
  40.    13 VCL_return   c fetch
  41.    14 BackendClose - default
  42.    14 BackendOpen  b default 127.0.0.1 57649 127.0.0.1 8000
  43.    13 Backend      c 14 default default
  44.    14 TxRequest    b GET
  45.    14 TxURL        b /offers?category=movies&s
RAW Paste Data
Top