xin

Directive reference

include

Includes another configuration file or a glob of files.

Syntaxinclude file | mask;
Contextsany
Defaultnone

Behavior

Relative paths resolve from the configuration prefix. Glob matches are visited in lexical order. Include cycles are rejected with the chain named.

Example

include /etc/nginx/conf.d/*.conf;