Module ngx_stream_set_module

From Get docs
Nginx/docs/latest/stream/ngx stream set module


Module ngx_stream_set_module

The ngx_stream_set_module module (1.19.3) allows setting a value for a variable.

Example Configuration

server {
    listen 12345;
    set    $true 1;
}

Directives

Syntax: set $variable value;
Default:
Context: server


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

© 2002-2021 Igor Sysoev
© 2011-2021 Nginx, Inc.
Licensed under the BSD License.
https://nginx.org/en/docs/stream/ngx_stream_set_module.html