Spec-Zone.ru › nginx

Module ngx_stream_return_module

  • Example Configuration
  • Directives
  • return

The ngx_stream_return_module module (1.11.2) allows sending a specified value to the client and then closing the connection.

Example Configuration

server {
    listen 12345;
    return $time_iso8601;
}

Directives

Syntax: return value;
Default: —
Context: server

Specifies a value to send to the client. The value can contain text, variables, and their combination.

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API