模块 ngx_stream_return_module

示例配置
Directives
返回

模块 (1.11.2) 允许 将指定值发送到客户端,然后关闭连接。ngx_stream_return_module

示例配置

server {
    listen 12345;
    return $time_iso8601;
}

Directives

语法: return value;
默认值:
上下文: server

指定要发送到客户端的 a。 该值可以包含文本、变量及其组合。value