mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-06-18 10:29:13 +02:00
temmie/userweb: fix directory denylist enforcement
This commit is contained in:
@@ -107,25 +107,25 @@ in
|
||||
</Directory>
|
||||
|
||||
${lib.concatMapStringsSep "\n" (d: ''
|
||||
<Directory "${d}">
|
||||
<DirectoryMatch "/${d}(/|$)">
|
||||
Require all denied
|
||||
</Directory>
|
||||
</DirectoryMatch>
|
||||
'') [
|
||||
".git"
|
||||
".hg"
|
||||
".svn"
|
||||
".ssh"
|
||||
".bzr"
|
||||
".venv"
|
||||
"\\.git"
|
||||
"\\.hg"
|
||||
"\\.svn"
|
||||
"\\.ssh"
|
||||
"\\.bzr"
|
||||
"\\.venv"
|
||||
"CVS"
|
||||
"RCS"
|
||||
|
||||
"*.bak"
|
||||
"*.bak*"
|
||||
"*.bkp"
|
||||
"*.bkp*"
|
||||
"*.backup"
|
||||
"*.backup*"
|
||||
".*\\.bak"
|
||||
".*\\.bak.*"
|
||||
".*\\.bkp"
|
||||
".*\\.bkp.*"
|
||||
".*\\.backup"
|
||||
".*\\.backup.*"
|
||||
]}
|
||||
|
||||
${lib.concatMapStringsSep "\n" (d: ''
|
||||
|
||||
Reference in New Issue
Block a user