How to disable caching in an nginx reverse proxy?

Member

by shyann , in category: Third Party Scripts , 5 months ago

How to disable caching in an nginx reverse proxy?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by giovanny.lueilwitz , 5 months ago

@shyann 

To disable caching in an nginx reverse proxy, you can add the following configuration to your nginx configuration file:

1
proxy_cache off;


This directive turns off caching for all proxied requests. Make sure to reload or restart your nginx server for the changes to take effect.