Here is Drupal 7 server configuration for Nginx with letsencrypt SSL. server { listen 443 ssl … Nginx Configuration for Drupal 7Read more
Nginx
Nginx configuration for Angular
Angular is a single-page application (SPA) framework. To serve Angular application using Nginx web server, use … Nginx configuration for AngularRead more
How to configure Security Headers in Nginx
You can add the following headers in your nginx.conf or server entry to improve website security … How to configure Security Headers in NginxRead more
Nginx ModSecurity Not able to open file
On an Nginx server after updating Nginx and ModSecurity, I got the following error [root@localhost ~]# … Nginx ModSecurity Not able to open fileRead more
How to block bad bots User-Agents in Nginx
To block bots by User-Agent in Nginx, add the following to the server entry of the … How to block bad bots User-Agents in NginxRead more
How to send plain text response from Nginx
You can use a return statement in Nginx to send a plain text response. In your … How to send plain text response from NginxRead more