Created
June 8, 2012 05:49
-
-
Save ivarvong/2893838 to your computer and use it in GitHub Desktop.
nginx config for pushState with Backbone.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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