Add 'SECURITY.md' to .htaccess

This commit is contained in:
Daniel Rudolf 2022-02-26 21:53:38 +01:00
parent 61880d150e
commit 93dbbe750d
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538

View file

@ -5,7 +5,7 @@
# Deny access to internal dirs and files by passing the URL to Pico
RewriteRule ^(config|content|content-sample|lib|vendor)(/|$) index.php [L]
RewriteRule ^(CHANGELOG\.md|composer\.(json|lock|phar))(/|$) index.php [L]
RewriteRule ^(CHANGELOG\.md|SECURITY.md|composer\.(json|lock|phar))(/|$) index.php [L]
RewriteRule (^\.|/\.)(?!well-known(/|$)) index.php [L]
# Enable URL rewriting