Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This returns 403 and in my opinion logs should not be turned off for that. I would return 404 to not expose that you are blocking . files with your server. My suggestion to put in each server { ... }

    location ~ /\.  { deny all; return 404; }


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: