Mercurial > hg > ngx_http_delay_module
comparison README @ 0:9777bf89da35
Delay module.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 29 Jun 2010 22:08:53 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9777bf89da35 |
---|---|
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/). |