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

Deny access to .env

See merge request edent/activitypub-single-php-file!5
merge-requests/5/merge
TuringTux 2025-02-10 11:24:14 +00:00
commit ebc3f7ada1
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>