Added tryFiles to locations for angular routing

This commit is contained in:
milan 2023-10-22 20:38:24 +00:00
parent d87a7dcdfe
commit 263570154f

View file

@ -78,6 +78,7 @@ in {
alias = "/home/$user/public_html/"; alias = "/home/$user/public_html/";
index = "index.html"; index = "index.html";
extraConfig = "autoindex on;"; extraConfig = "autoindex on;";
tryFiles = "$uri$args $uri$args/ /index.html";
}; };
}; };
}; };