---

How to Enable ModSecurity Web Application Firewall inside NGINX Server on the RoseHosting Cloud platform

Nginx is a free, open-source, and one of the most popular web servers and reverses proxy servers. Mostly, it is used for load balancing and high-performance websites. It offers a rich set of features including, TCP and UDP proxying, auto-indexing, error code redirection, SSL support, fault tolerance, and many more.

ModSecurity is an open-source web application firewall that protects your web server from different kinds of attacks. You can enable this module with Nginx to block some attacks including, SQL injection, bad user agents, session hijacking, trojans, and more.

RoseHosting cloud provides Nginx Stack (application servers and load balancer) with a built-in ModSecurity module. You just need to enable this module in your container.

In this tutorial, we will show you How to Enable ModSecurity Web Application Firewall inside NGINX Server on the RoseHosting Cloud platform.