Skip to content

Instantly share code, notes, and snippets.

@brandon-beacher
Created May 12, 2011 15:05
Show Gist options
  • Save brandon-beacher/968685 to your computer and use it in GitHub Desktop.
Save brandon-beacher/968685 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name .karastanonthego.com;
root /data/dealer_ignition/current/public/karastan-on-the-go;
access_log /var/log/engineyard/nginx/karastan_on_the_go.access.log main;
error_log /var/log/engineyard/nginx/karastan_on_the_go.error.log notice;
# set Expire header on assets: see http://developer.yahoo.com/performance/rules.html#expires
location ~ ^/(images|javascripts|stylesheets)/ {
expires 10y;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment