Fwd: Dont understand how to implement this FAQ topic

2018-04-13 Thread Daniel Santos
I don't understand the this FAQ topic . I want to implement it. In my /etc/varnish/default.vcl I have this: backend apache { .host = "127.0.0.1"; .port = ""; } backend node_hello { .host =

Re: Dont understand how to implement this FAQ topic

2018-04-13 Thread Guillaume Quintard
What is your goal, what don't you understand? -- Guillaume Quintard On Fri, Apr 13, 2018, 23:52 Daniel Santos wrote: > I don't understand the this FAQ topic > > . > > I want to

Compare Hex to Decimal

2018-04-13 Thread Michael Kennedy
Hi, I have a URL that contains a Unix hex timestamp (something like 5ace8c5d). The timestamp should be within X minutes of now, and is used as part of an access control mechanism. I want to do something like this: if (std.time(req.http.x-hextime, now) < now - 1w) { ... } Is there an