Deny access to .env

merge-requests/5/head
TuringTux 2025-02-10 11:23:01 +00:00
rodzic 16ecc9b363
commit 5bf596b2ae
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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
<Files .env>
Require all denied
</Files>