Install Nginx Web Server

Install Nginx Web Server

pkg_add nginx - install nginx
/etc/nginx/nginx.conf - main configuration file
nginx -t - test configuration syntax
service nginx start - start nginx
rcctl enable nginx - enable on boot
Default root: /usr/local/www/nginx/index.html"

Article author: Arthur Isaev