<html><head></head><body bgcolor="#FFFFFF"><div>I think you want to use "location" directive, and an expires inside ;)<br><br><div>--</div><div>Cordialement, Adnan RIHAN.</div><div>Président-Fondateur de l'association Virtual-Info (Loi 1901),</div>
<div>hébergement Web et Serveurs de jeux.</div><div>Technicien-Supérieur développeur d'applications Web et Système.</div><div>3e année à {Epitech}.</div><div>Envoyé de mon iPhone </div></div><div><br>Le 31 mars 2012 à 17:52, Micah Carrick <<a href="mailto:micah@quixotix.com">micah@quixotix.com</a>> a écrit :<br>
<br></div><div></div><blockquote type="cite"><div><div>Hey folks, </div><div><br></div><div>My Django website uses a subdomain to serve static content and as such I have 'expires' set to max. However, there is now one image on that domain that get's re-generated every 10 minutes. How would I go about forcing just that one filename to NOT be cached by the browser?</div>
<div><br></div><div>This is what I have:</div><div><br></div><div>server {</div><div> listen 80;</div><div> listen 443;</div><div> ssl on;</div><div> server_name <a href="http://static.example.com">static.example.com</a>;</div>
<div> expires max;</div><div> add_header Cache-Control public;</div><div> access_log off;</div><div> root /home/username/public_html/<a href="http://static.example.com/">static.example.com/</a>;</div>
<div>}</div><div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>nginx mailing list</span><br><span><a href="mailto:nginx@nginx.org">nginx@nginx.org</a></span><br><span><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></span></div>
</blockquote></body></html>