fevangelou
6/13/2014 - 2:38 PM

Backbone.js rewrite for Nginx

Backbone.js rewrite for Nginx

        location / {
        		if (!-e $request_filename){
        			rewrite ^(.*)$ /index.html break;
        		}
        }