Categories
Nginx

How to Install, And Configure a Nginx Server For the First Time

Nginx is one of the popular web servers, and is used as a proxy server, reverse proxy server, load balancer. It’s a popular alternative to the aging Apache web server, as it’s designed keeping resource intensive applications in mind. It is event driven, asynchronous and non-blocking, and therefore it frequently beats Apache in terms of […]

Categories
Nginx

How to Setup HAProxy as Load Balancer for Nginx in CentOS 8

High Availability Proxy, also abbreviated as HAProxy is a lightweight and fast load balancer which also doubles up as a proxy server. As a load balancer, it plays a crucial role in distributing incoming web traffic across multiple web servers using certain criteria. In doing so, it ensures high availability and fault tolerance in the […]

Categories
Nginx

How to Use URL Rewriting

URL Rewriting is a process of changing the request URL to something else as defined in the web server. Nginx uses ngx_http_rewrite_module module, which mainly uses return, rewrite directives for rewriting purpose. Other than these directives defined in this module, the map directive, defined in ngx_http_map_module, can also be used to rewrite URLs with ease. […]

Categories
Nginx

How to Block Hotlinking with Nginx

Nginx is a lightweight web server capable of handling humongous number of requests at a given time without making the server busy. It contains sophisticated features such as asynchronous processing, support to ipv6, cache loader, http/2 support, block hotlinking, thread pools, SPDY and SSL, and many more. Among them one of the most important features […]

Categories
Nginx

How to Redirect URLs in Nginx

Nginx is a lightweight web server, which is often used as a reverse proxy, web server, and a load balancer as well. Nginx, by default comes up with a lot of useful features, and more can be added as modules when it’s being installed. This guide intends to demonstrate how to use Nginx to redirect […]

Categories
Nginx

NGINX: Block Based on Geographical Location

Nginx is a high performance, lightweight, open source web server available to public for free of charge. It has tremendous number of valuable features compared to other lightweight servers. One of such features is its geoip_module, which is used to identify the geo graphical location from where the visitor comes. By default, it uses in […]

Categories
Nginx

Install NGINX on CentOS

In the case of any web server, the performance is something that you need to keep in mind. In fact, performance is the main factor that decides the success of running a server. The faster the server, the better performance you get out of your current hardware config. There are a number of available server […]

Categories
Nginx

Best Open Source Web Servers for Linux

Web servers are used to host web sites, and they serve content to end-users when they are being called over the HTTP (Hypertext Transfer Protocol). Many Linux based web servers are open source, and therefore it’s not difficult to find a different types of web servers in the industry. However, not all the web servers […]