Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Do not cache based on URL pattern

$
0
0
I'm using nginx as a reverse proxy for multiple environments hosted on the same IIS server. I'd like to use the same caching settings for all environments except development, which nothing should be cached.

Is it possible to tell nginx to never cache anything if the url contains the pattern "project_dev" anywhere in the address?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>