Linode Icon Linode – Sponsored

How to Configure NGINX

logged by @logbot permalink

Do you need a crash course in the basic NGINX parameters and conventions? This guide from Linode had you covered. Here’s a sample…

Directives, Blocks, and ContextsPermalink — All NGINX configuration files are located in the /etc/nginx/ directory. The primary configuration file is /etc/nginx/nginx.conf.

Configuration options in NGINX are called directives. Directives are organized into groups known as blocks or contexts. The two terms are synonymous.

Lines preceded by a # character are comments and not interpreted by NGINX. Lines containing directives must end with a ; or NGINX will fail to load the configuration and report an error.

By the way, Linode’s docs are open source.

Player art
  0:00 / 0:00