I installed the nginx package and I noticed the default configuration and file structure is not optimal compared to other distros.
The default /etc/nginx/nginx.conf file should exclude the root path and be included in another folder called sites-available and sites-enabled.
This configuration is optimal for security and scalability. Also it seems standard on debian distros like Debian, ubuntu and mint.