How to send plain text response from Nginx
You can use a return statement in Nginx to send a plain text response. In your Nginx server entry, add
How to get list of User-Agent from access log
I wanted to block bots from accessing a website. For this, I need to generate a list of all browser
How to configure Security Headers in Nginx
You can add the following headers in your nginx.conf or server entry to improve website security See Nginx
Nginx configuration for Angular
Angular is a single-page application (SPA) framework. To serve Angular application using Nginx web server, use following configuration. You can
Nginx Configuration for Drupal 7
Here is Drupal 7 server configuration for Nginx with letsencrypt SSL. In the above config, replace with the location of
How to install Engintron on Cpanel Server
Engintron is a Cpanel plugin that allows you to use the Nginx web server as a reverse proxy in front
Nginx Redirect HTTP to HTTPS
To force SSL (HTTPS) on a website hosted on an Nginx web server, edit server entry for the website, add
Nginx php-fpm No input file specified
When accessing PHP files from location block that have different document root specified using alias, i get error No input
How to hide Nginx version
On a default installation of the Nginx web server, the error pages show the version of Nginx software running on
Nginx Rate Limiting
Nginx web server support rate-limiting with module ngx_http_limit_req_module. Block WordPress wp-login.php attack To block the WordPress wp-login.php attack, add the
How to redirect a domain with html extension in Nginx
A WordPress website needs to migrate to a different domain, on a new domain site use static HTML pages. On
Nginx file upload error
When uploading a file on a PHP Application running under an Nginx web server, I get the following error The