Categories
WebOps

How to enforce specific referer header using nginx

Enforce specific referer header using nginx directives.

Categories
SysOps

How to format and beautify Nginx configuration

Format and beautify Nginx configuration using dedicated utilities like nginx-config-formatter, nginxbeautifier, and crossplane.

How to enable debugging log in nginx

Enable debugging log in Nginx to inspect internal behavior and upstream interactions.

Categories
SysOps

How to use OpenResty to perform health checks

Use OpenResty to perform health checks in your cloud environment as it incorporates Nginx, Lua and comes with batteries included.

Categories
Uncategorized

How to generate password digest for basic authentication of HTTP users

Generate password digest for basic authentication of HTTP users.

Categories
Uncategorized

How to serve single file using nginx

nginx configuration snippet to illustrate how to serve single file.

Categories
SysOps

How to use regex to dynamically define server name

Use regex to define server names when using Nginx to dynamically serve or route traffic.

Categories
Uncategorized

How to increase the default number of maximum server names and their length when using nginx

Learn how to increase the default number of maximum server names and their length when using nginx.

Categories
SysOps

How to stop search engines from crawling website using nginx

Stop search engines from crawling website using simple Nginx location directive to provide robots.txt file.

Categories
SysOps

How to serve files from memory with a fallback using nginx

Serve files from memory with a fallback using the Nginx HTTP server.