Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pages/docs/getting-started/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@ server {
return 403;
}

# Block /vendor completely
location ^~ /vendor/ {
return 403;
}

# Block direct access to config.php
location = /config.php {
return 403;
}

# Block access to hidden files except .well-known
location ~ /\.(?!well-known\/) {
return 403;
Expand Down