bartvanremortele
7/19/2014 - 10:43 PM

AngularJS Nginx and html5Mode

AngularJS Nginx and html5Mode

server {
    server_name yoursite.com;
    root /usr/share/html;
    index index.html;
    
    location / {
        try_files $uri $uri/ /index.html;
    }
}