Tagged: Nginx

How to use nginx as HTTP load balancer

How to use nginx as HTTP load balancer

The following is a simple example file for configuring nginx load balancing. The main functions are: Users visit http://www.meterpreter.org and load balance them to four servers: 192.168.1.2:80, 92.168.1.3:80, 192.168.1.4:80, 192.168.1.5:80 Users visit http://new.meterpreter.org and...

How to deny or allow specified IP in Nginx

How to deny or allow specified IP in Nginx

Nginx denies or allows the specified IP and uses the module HTTP Access Control Module (HTTP Access). The control rules are checked in the stated order, and the first access rule that matches the...

How to custom 404 page on Nginx

How to custom 404 page on Nginx

Customizing the nginx 404 error page is a detail to improve the user experience. You can set the error page for each site separately, or you can set a global 404 page. To custom...