• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Disable Cache for a specific folder

Kalakus

New Pleskian
Hello, i have the last version of plesk with 2 domain configured, i have a php script on one of my website that change the background image on each page reload, but this script is not working and i think the problem is the cache (the nginx one i think, maybe...), so i just found this code for disable the cache on nginx for a specific folder:

location ~ \folder\image\ {
expires off;
}

anyone can tell me where i find the nginx configuration file for the domain or where i can place this code for disable the cache for one of my website?

Thanks
 
Back
Top