nginxt angular location conf

# Virtual Host configuration for loof.af-dev.local
#

You can move that to a different file under sites-available/ and symlink that

to sites-enabled/ to enable it.

#

server {
listen 80;

    root /var/www/af-dev/loof;
    index index.html;

    server_name loof.af-dev.local www.loof.af-dev.local;

    location / {
      try_files $uri$args $uri$args/ $uri/ /index.html =404;

    }

}

Leave a Reply

Your email address will not be published. Required fields are marked *