diff options
author | Valentin Bartenev <vbart@nginx.com> | 2020-03-27 17:22:52 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2020-03-27 17:22:52 +0300 |
commit | 8d727774e3a2b2eaf194781c382fb953ed61f755 (patch) | |
tree | 9c3ec0878ebffb033f352f59c7abc099d17307a9 /src/nxt_upstream_round_robin.c | |
parent | 5f9c4754cbb1dfec0156b4473d1b31a4da8a3e3d (diff) | |
download | unit-8d727774e3a2b2eaf194781c382fb953ed61f755.tar.gz unit-8d727774e3a2b2eaf194781c382fb953ed61f755.tar.bz2 |
Implemented "return" action.
The "return" action can be used to immediately generate a simple HTTP response
with an arbitrary status:
{
"action": {
"return": 404
}
}
This is especially useful for denying access to specific resources.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions