Installing Nginx on FreeBSD
Log on to FreeBSD server using shell access,
Installation:
pkg install -y nginx
Test the default Nginx configurations for errors.
nginx -t
Enable Nginx Web Server Service
sysrc nginx_enable=yes
Nginx Web Server START, STOP, RESTART and STATUS checking commands
service nginx start
service nginx stop
service nginx restart
service nginx status