8000 fix: prevent access to source code of any php files · dunglas/symfony-docker@ab9039c · GitHub
[go: up one dir, main page]

Skip to content

Commit ab9039c

Browse files
bkosundunglas
authored andcommitted
fix: prevent access to source code of any php files
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
1 parent cc900a6 commit ab9039c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frankenphp/Caddyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@
5454
php @frontController
5555

5656
file_server {
57-
hide index.php
57+
hide *.php
5858
}
5959
}

0 commit comments

Comments
 (0)
0