Skip to content

Instantly share code, notes, and snippets.

@ivarvong
Created June 8, 2012 05:49
Show Gist options
  • Save ivarvong/2893838 to your computer and use it in GitHub Desktop.
Save ivarvong/2893838 to your computer and use it in GitHub Desktop.
nginx config for pushState with Backbone.js
server {
listen 80;
server_name trials.dailyemerald.com;
access_log /srv/www/trials.dailyemerald.com/access.log;
gzip on;
location / {
root /srv/www/trials.dailyemerald.com/public_html;
try_files $uri /index.html;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment