• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question If Nginx Cache is Enabled, the Images aren't loading ?

SahinS

Basic Pleskian
Hello,

I have a strange problem.

As summary:

I have 2 sites. such as, a.com & b.com. I have created a subdomain cdn.b.com for a.com. Everything is normal. But, If I actived the (cdn.b.com) Nginx browser cache, a.com isn't loading some images.

(Apache & nginx Settings)

The code blog:
Code:
    location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
        expires 1M;
        access_log off;
        add_header Cache-Control "public";
    }


What about that?
Thanks!
 
Back
Top