0
|
1 Delay module for nginx.
|
|
2
|
|
3 This module allows to delay requests for a given time.
|
|
4
|
|
5 Configuration directives:
|
|
6
|
|
7 delay <time>
|
|
8
|
|
9 Context: http, server, location
|
|
10 Default: 0
|
|
11
|
|
12 Delay requests for a given time.
|
|
13
|
|
14 Usage:
|
|
15
|
|
16 location = /slow {
|
|
17 delay 10s;
|
|
18 ...
|
|
19 }
|
|
20
|
|
21 Note that internal redirects (e.g. directory index ones) will trigger another
|
|
22 delay.
|
|
23
|
|
24 To compile nginx with delay module, use "--add-module <path>" option
|
|
25 to nginx configure.
|
|
26
|
|
27 Development of this module was sponsored by Openstat (http://www.openstat.com/).
|