• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Nginx Expires Header not working

CGI1979

Basic Pleskian
Dear Plesk-Group,

Google Page Speed Tool tells me that no expire headers are sent.
We tried adding this directive in the Plesk 12 Panel (latest version):

location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires 30d;
}

Unfortunately this doesn't have an effect.
Only if Nginx is deactivated the expire headers are sent correcty by Apache.

How can I set the expire headers to make it work?
Or is it possible to set the headers globally for all domains in Nginx configuration?
 
Back
Top