Merge branch 'main' into 'main'

Added tryFiles to locations for angular routing

See merge request compsoc1/skynet/nixos!23
This commit is contained in:
silver 2023-10-22 20:44:53 +00:00
commit 52e4442226

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";
}; };
}; };
}; };