Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Add Expires headers

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
verus001
Posts: 22
Joined: Wed Nov 09, 2016 1:12 pm

Add Expires headers
  • Quote

Post by verus001 » Mon Feb 04, 2019 5:45 pm

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.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Add Expires headers
  • Quote

Post by grayfolk » Mon Feb 04, 2019 8:56 pm

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
Top

verus001
Posts: 22
Joined: Wed Nov 09, 2016 1:12 pm

Re: Add Expires headers
  • Quote

Post by verus001 » Tue Feb 05, 2019 8:28 am

ok thanks.
Top

verus001
Posts: 22
Joined: Wed Nov 09, 2016 1:12 pm

Re: Add Expires headers
  • Quote

Post by verus001 » Thu Feb 07, 2019 8:35 am

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.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password