Re: [relayd] set response header for tagged connexion

2018-10-17 Thread Thuban
* tomr le [17-10-2018 15:37:42 +1100]: > > > On 10/17/18 4:14 AM, Thuban wrote: > > Hi, > > I want to set a header according to the requested path. The goal is to > > increase > > the cache-control according to file extension. > > > > For now, I have in relayd.conf something like : > > > >

Re: [relayd] set response header for tagged connexion

2018-10-16 Thread tomr
On 10/17/18 4:14 AM, Thuban wrote: > Hi, > I want to set a header according to the requested path. The goal is to > increase > the cache-control according to file extension. > > For now, I have in relayd.conf something like : > > match request path "/*.css" tag "CSS" > match tagged "CSS"

[relayd] set response header for tagged connexion

2018-10-16 Thread Thuban
Hi, I want to set a header according to the requested path. The goal is to increase the cache-control according to file extension. For now, I have in relayd.conf something like : match request path "/*.css" tag "CSS" match tagged "CSS" response header set "Cache-Control" value "max-age=1814400"