Set#

The module allows setting a value for a variable

Configuration Example#

server {
    listen 12345;
    set    $true 1;
}

Directives#

set#

Syntax

set $variable value;

Default

Context

server

Sets a value for the specified variable. The value can contain text, variables, and their combination.