Skip to content

Commit

Permalink
fix: prevent access to source code of any php files
Browse files Browse the repository at this point in the history
Co-authored-by: Kévin Dunglas <[email protected]>
  • Loading branch information
2 people authored and maxhelias committed Jan 15, 2025
1 parent cc900a6 commit ab9039c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frankenphp/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
php @frontController

file_server {
hide index.php
hide *.php
}
}

0 comments on commit ab9039c

Please sign in to comment.