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" response header set "Cache-Control" value "max-age=1814400"

I think you might want to try moving 'response' left, so the line begins
'match response tagged ....'

t

> Of course, there is a syntax error.
> 
> Any advice ?
> 
> 

Reply via email to