Cache expiration header in additional Nginx directives does not get applied

Follow

Comments

4 comments

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

  • 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?

  • Avatar
    David McLaughlin

    I have FPM application served by Apache and nginx in proxy mode.

    Despite the change I never see the cache-control header.

  • Avatar
    Anna Morozyuk

    Hi @David,
    If expire headers are not working with Apache, another reason might be involved. Please submit request to a support in order to investigate it thoroughly: https://support.plesk.com/hc/en-us/articles/213608509-How-to-submit-a-request-to-Plesk-support- 

Please sign in to leave a comment.

Have more questions? Submit a request