Page 1 of 1

Add Expires headers

Posted: Mon Feb 04, 2019 5:45 pm
by verus001
Hi,

I have a new Vesta installation on centos and when I do a website speedtest I get the message to "Add Expires headers".
However, I don't find a good explanation on how to do that in Vesta.
Any help is appreciated.
Regards, V.

Re: Add Expires headers

Posted: Mon Feb 04, 2019 8:56 pm
by grayfolk
This is not related to Vesta. Read nginx (or apache if your Vesta installation dont have nginx) documentation about this: http://nginx.org/en/docs/http/ngx_http_ ... odule.html

Re: Add Expires headers

Posted: Tue Feb 05, 2019 8:28 am
by verus001
ok thanks.

Re: Add Expires headers

Posted: Thu Feb 07, 2019 8:35 am
by verus001
One question about it, in what configuration file do I need to write that code from what they explain here:
http://nginx.org/en/docs/http/ngx_http_ ... odule.html

Thanks, V.