Don't Accidentally Serve Dotfiles With Nginx
View on Twitter
💡 When serving your frontend app directly through Nginx, make sure to not accidentally expose any dotfiles.
👉🏼 Add a location directive to your server configuration to block access to all hidden files.