summaryrefslogtreecommitdiff
path: root/pod/nginx/ngx_stream_return_module.pod
blob: 4d100ddf0b9f8e9dfb0f04deb01aa674104bacab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
=encoding utf-8

=head1 NAME

ngx_stream_return_module - Module ngx_stream_return_module




=head1



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




=head1 Example Configuration




    
    server {
        listen 12345;
        return $time_iso8601;
    }






=head1 Directives

=head2 return


B<syntax:> return I<I<C<value>>>



B<context:> I<server>





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