• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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