FreeBSD www root Path

Viaduct Lists lists at viaduct-productions.com
Wed Jul 12 21:13:54 UTC 2017


Just wondering where the best location is for www on FreeBSD.

The default nginx.conf reports /usr/local/www/nginx

But then it reports this:

[Wed Jul 12 05:10:09 rich at neb /usr/local/www/nginx] ll
dr-xr-xr-x  2 root  wheel    5 Jul  7 10:23 .
drwxr-xr-x  3 root  wheel    4 Jul  7 10:23 ..
-rw-r--r--  1 root  wheel  537 Jul  7 10:23 50x.html
-rw-r--r--  1 root  wheel    1 Jul  7 10:23 EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
-rw-r--r--  1 root  wheel  612 Jul  7 10:23 index.html
[Wed Jul 12 05:10:11 rich at neb /usr/local/www/nginx] pwd
/usr/local/www/nginx

So without any direct documentation I can find, I’d like to choose a proper path.  I’m hoping /usr/local/www/vhost1, /usr/local/www/vhost2, etc.  

Cheers


_____________
Rich in Toronto @ VP








More information about the nginx mailing list