view README @ 1:3cdd7ed86819

Support dynamic loading.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 09 Nov 2016 12:42:21 +0300
parents 9777bf89da35
children
line wrap: on
line source

Delay module for nginx.

This module allows to delay requests for a given time.

Configuration directives:

    delay <time>

        Context: http, server, location
        Default: 0

        Delay requests for a given time.

Usage:

    location = /slow {
        delay 10s;
        ...
    }

Note that internal redirects (e.g. directory index ones) will trigger another
delay.

To compile nginx with delay module, use "--add-module <path>" option
to nginx configure.

Development of this module was sponsored by Openstat (http://www.openstat.com/).