Skip to content

Commit

Permalink
bloquear acesso ao .env no webservice
Browse files Browse the repository at this point in the history
  • Loading branch information
altendorfme committed Dec 4, 2024
1 parent 580a7f8 commit 7a49945
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,10 @@ server {
deny all;
}

location = /.env {
deny all;
return 404;
}

access_log /dev/null;
}

0 comments on commit 7a49945

Please sign in to comment.