I'm trying a simple
location directive in my nginx config, and it doesn't seem to be working all that well; I want to ensure that all requests to a local css or js file have an expires header, so I added the following to my server block (shown below). Am I missing something? The
movies location block correctly works (and loads CSS), however it does not have the expires header as expected. I've tried putting the wanted location block inside the
movies location block to no success.