Skip to content

Commit 7a49945

Browse files
committed
bloquear acesso ao .env no webservice
1 parent 580a7f8 commit 7a49945

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

default.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,10 @@ server {
3333
deny all;
3434
}
3535

36+
location = /.env {
37+
deny all;
38+
return 404;
39+
}
40+
3641
access_log /dev/null;
3742
}

0 commit comments

Comments
 (0)