stream_set module

stream_set module#

The module allows setting a value for a variable

Example Configuration#

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.