W3cubDocs

/nginx

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-2020 Igor Sysoev
© 2011-2020 Nginx, Inc.
Licensed under the BSD License.
https://nginx.org/en/docs/stream/ngx_stream_set_module.html