Merge branch 'deny-access-to-dotenv' into 'main'

Deny access to .env

See merge request edent/activitypub-single-php-file!5
main
Terence Eden 2025-02-10 11:27:36 +00:00
commit 97bfbe6afe
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>