I have worked with Apache before, so I am aware that the default public web root is typically /var/www/.
I recently started working with nginx, but I ca
The default Nginx directory on Debian is /var/www/nginx-default.
You can check the file: /etc/nginx/sites-enabled/default
and find
server {
listen 80 default;
server_name localhost;
access_log /var/log/nginx/localhost.access.log;
location / {
root /var/www/nginx-default;
index index.html index.htm;
}
The root is the default location.