mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 13:28:57 +00:00
15 lines
369 B
ApacheConf
15 lines
369 B
ApacheConf
DirectoryIndex index.html index.php
|
|
|
|
<IfModule mod_negotiation.c>
|
|
Options -MultiViews
|
|
</IfModule>
|
|
|
|
<IfModule mod_alias.c>
|
|
# Restrict access to VCS directories
|
|
RedirectMatch 404 /\\.(svn|git|hg|bzr|cvs)(/|$)
|
|
|
|
# Restrict access to root folder files
|
|
RedirectMatch 404 /(composer\.(json|lock|phar)|README\.md|\.gitignore|.*\.dist|\.env.*)$
|
|
</IfModule>
|
|
|