Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
limit req и страница ошибки
- To: nginx-ru@xxxxxxxxx
- Subject: limit req и страница ошибки
- From: "Hett" <nginx-forum@xxxxxxxx>
- Date: Tue, 28 Aug 2012 06:35:55 -0400 (EDT)
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tigger.jlkhosting.com; s=x; h=From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=TWgG4P9PxEHM0WD+uB0up5tKLDLCWYCRU2xud0GvsYY=; b=icw9r3yLzXb9yjvSeBCCXC+LYZDE232XNj/D3g2/x5qjFqPxcPzqpddNVrb5PqL7Rs/9o9IYFQx1wc7z07ZtDQfkdk1KxrUvOb70eLL9/9zENVHjEIQfs+bfDrHYUzVt;
location / {
limit_req zone=two burst=5;
proxy_pass http://127.0.0.1:8084;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
Как-то можно задать HTML страницу, которая будет показываться вместо 500
ошибки для этой зоны?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,230186,230186#msg-230186
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|