diff --git a/modules/website.nix b/modules/website.nix index 7bc75e6..aa81fdf 100644 --- a/modules/website.nix +++ b/modules/website.nix @@ -41,6 +41,10 @@ in enableACME = true; forceSSL = true; root = "/srv/web/ifsrde"; + extraConfig = '' + index index.html index.php; + ''; + locations = { "/" = { tryFiles = "$uri $uri/ /index.php?$query_string";