News for hackers. Stuff that matters.
Re:Ask HN: My web app was hacked today – Bad experiences and... by pier25 on Thursday February 27, 2020 @01:55PM (#22436486)
But that would be an Apache or Nginx config, no?

Afaik PHP is not the webserver.

Re:Ask HN: My web app was hacked today – Bad experiences and... by makison on Thursday February 27, 2020 @05:53PM (#22438850)
Exactly. Nginx/apache is not pointing to /public/ directory as root of the application/domain. That's why .env is accessible.