diff --git a/modules/userdir.nix b/modules/userdir.nix index fa0aad8..a0d9322 100644 --- a/modules/userdir.nix +++ b/modules/userdir.nix @@ -29,10 +29,17 @@ in virtualHosts.${domain} = { enableUserDir = true; extraConfig = '' + UserDir /home/users/*/public_html - Options -Indexes + Options -Indexes +MultiViews +SymLinksIfOwnerMatch +IncludesNoExec DirectoryIndex index.php index.html AllowOverride FileInfo AuthConfig Limit Indexes Options=Indexes + + Require all granted + + + Require all denied + ''; listen = [{