≡ Menu

/usr/local/etc/nginx/nginx.conf

Nginx Force (Redirect) WWW.Domain.COM To Domain.COM

I know how to force and redirect www.example.com to example.com under Lighttpd web server. How do I force nginx web server to redirect www.example.com/page/1/2/3 to example.com/page/1/2/3?
[click to continue…]

Nginx Block And Deny IP Address OR Network Subnets

How do I block or deny access based on the host name or IP address of the client visiting website under nginx web server?
[click to continue…]

FreeBSD: Nginx FastCGI PHP Configuration

Q. How do I configure PHP as FastCGI under FreeBSD Nginx webserver?
[click to continue…]

FreeBSD: Start / Stop / Restart Nginx Web Server

Q. How do I start / stop / restart Nginx webserver under FreeBSD operating systems? How do I test Nginx web server config file syntax before restarting my server?
[click to continue…]