diff --git a/hosts/temmie/services/userweb/httpd.nix b/hosts/temmie/services/userweb/httpd.nix
index 9b32cf2..f57998c 100644
--- a/hosts/temmie/services/userweb/httpd.nix
+++ b/hosts/temmie/services/userweb/httpd.nix
@@ -103,38 +103,53 @@ in
Require all granted
-
+ Require all denied
+
+ '') [
+ ".git"
+ ".hg"
+ ".svn"
+ ".ssh"
+ ".bzr"
+ ".venv"
"CVS"
"RCS"
- ".*\\.swp"
- ".*~"
+ "*.bak"
+ "*.bak*"
+ "*.bkp"
+ "*.bkp*"
+ "*.backup"
+ "*.backup*"
+ ]}
- ".*\\.bak"
- ".*\\.bak.*"
- ".*\\.bkp"
- ".*\\.bkp.*"
- ".*\\.backup"
- ".*\\.backup.*"
-
- ".*\\.lck"
- ".*\\.lock"
- "LCK\\.\\..*"
- ]})(/|$)">
- AllowOverride All
+ ${lib.concatMapStringsSep "\n" (d: ''
+
Require all denied
-
+
+ '') [
+ ".env"
+ ".env.*"
+ ".envs"
+ ".envs.*"
+ ".envrc"
+
+ "*.swp"
+ "*~"
+
+ "*.bak"
+ "*.bak*"
+ "*.bkp"
+ "*.bkp*"
+ "*.backup"
+ "*.backup*"
+
+ "*.lck"
+ "*.lock"
+ "LCK..*"
+ ]}
SetHandler application/x-httpd-php