nginx Default public www location?

Viewed 18

I used Apache before, and its default directory was /var/www/

I recently started working with nginx, but I can't seem to find the default public web root.

Where can I find the default public web root for nginx?

1 Answers

Taking Linux system as an example, if you installed nginx using yum or apt get commands, the default should be

/var/share/nginx/www

Of course, you can also configure it in nginx.conf