Add add_header Cache-Control no-cache; in location that will be not cached
add_header Cache-Control no-cache;
Reference: https://serverfault.com/questions/549200/how-do-i-force-nginx-to-load-new-static-files