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?
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?
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