Nginx web server help

Ports install their configuration files in /usr/local/etc/, not /etc/.
 
Sorry SirDice,

What you mean?
I know that the nginx files are in local/etc/nginx, but in all the tutorial (non FreeBSD OS) also have a
etc/nginx/sites-available & etc/nginx/sites-enabled

So I wonder if these also exist in FreeBSD?
 
All configuration files of third-party applications (ports/packages) belong under /usr/local/etc. That is the FreeBSD way of doing it, so don't blindly follow non-FreeBSD tutorials.
 
Ok, I cannot find a tutorial using nginx vhost, SSL and freebsd FreeBSD.

Could anyone suggest me some reading please?
Thank you
fred
 
Just use any you find and keep in mind that stuff that's in /etc/ on Linux is in /usr/local/etc/ on FreeBSD.

Besides some differing locations configuring an application is exactly the same, regardless of the OS.
 
Back
Top