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 fe5e8d2 commit a4b8980
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 @@ -41,6 +41,11 @@ server {
fastcgi_pass 127.0.0.1:9000;
}

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

location ~ /\.ht {
deny all;
}
Expand Down

0 comments on commit a4b8980

Please sign in to comment.