From 263570154f0e898dc589c06640373920c5dbf40e Mon Sep 17 00:00:00 2001 From: Milan Kovacs Date: Sun, 22 Oct 2023 20:38:24 +0000 Subject: [PATCH] Added tryFiles to locations for angular routing --- applications/skynet_users.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/skynet_users.nix b/applications/skynet_users.nix index 7a24b03..d90d7df 100644 --- a/applications/skynet_users.nix +++ b/applications/skynet_users.nix @@ -78,6 +78,7 @@ in { alias = "/home/$user/public_html/"; index = "index.html"; extraConfig = "autoindex on;"; + tryFiles = "$uri$args $uri$args/ /index.html"; }; }; };