Welcome! Log In Create A New Profile

Advanced

FreeBSD www root Path

Viaduct Lists
July 12, 2017 05:14PM
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@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@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






_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

FreeBSD www root Path

Viaduct Lists July 12, 2017 05:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 275
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready