From 5bf596b2aee262de409e0b9e807242e7b0885993 Mon Sep 17 00:00:00 2001 From: TuringTux Date: Mon, 10 Feb 2025 11:23:01 +0000 Subject: [PATCH] Deny access to .env --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.htaccess b/.htaccess index 7e9b49e..93dd1ff 100644 --- a/.htaccess +++ b/.htaccess @@ -12,3 +12,9 @@ Options -Indexes # Serve JSON documents with the correct MIME types AddType application/activity+json .json + +# Deny access to env file because it contains secrets +# See https://httpd.apache.org/docs/2.4/en/mod/mod_authz_core.html#reqall + + Require all denied +