cleanup and htaccess fix
This commit is contained in:
1 parent
64c49d210a
commit
9184f60461
1 file changed
+1
-5
@@ -2,9 +2,5 @@ DirectoryIndex launch.html
|
|||||||
|
|
||||||
# Hide repository meta files behind 404
|
# Hide repository meta files behind 404
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteRule ^(README\.md|LICENSE|AGENTS\.md|.gitignore|.htaccess)$ - [NC,R=404,L]
|
||||||
RewriteRule ^(README\.md|LICENSE|AGENTS\.md)$ - [NC,R=404,L]
|
|
||||||
|
|
||||||
# security.txt: redirect to central security contact
|
|
||||||
RewriteRule ^\.well-known/security\.txt$ https://www.bnvb-ingenieure.de/.well-known/security.txt [NC,R=301,L]
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
Reference in new issue
Block a user