ghostcode
1/7/2017 - 2:54 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;
    }
}