* 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 :
> >
> >
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"
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"
3 matches
Mail list logo