Cannot set cache expiration header in additional Nginx directives

Created:

2016-11-16 13:08:16 UTC

Modified:

2017-05-25 17:36:12 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Cannot set cache expiration header in additional Nginx directives

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux

Symptoms

  1. Cache expiration is enabled in nginx, but cache expiration headers are not returned by server.
  2. Wordpress is installed.
  3. In Domains > example.com > Hosting settings for a domain PHP handler is set as "FPM application served by Apache".

Cause

This is Plesk internal issue with ID #PPPM-4413 , which is planned to be fixed in future Plesk updates

Workaround

Change PHP handler to "FPM application served by Apache" in Domains > example.com > Hosting settings .

Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    Agli Pançi

    What is the exact change because the current configuration is for a domain PHP handler is set as "FPM application served by Apache". And also the workaround states the same thing: 

    Change PHP handler to "FPM application served by Apache" in Domains > example.com > Hosting settings .

  • 0
    Avatar
    Lev Iurev

    Hi @gli Pançi, do you mean that handler is set to "FPM application served by Apache" and cache expiration is enabled in nginx  but cache expiration headers are not returned by server?

Please sign in to leave a comment.