Can someone solve Nginx routing issue my conf file has the following location section
location /pages {
alias /path/to/dist/folder
index index.html;
}
when I am hitting http://example.com/pages, I am getting http:example.com/pages/home page as per angular 4 routing, but when I directly hit http:example.com/pages/home -its throwing bad request 502