From c769033c8be42f17c5079b726f5981c6a6f4e133 Mon Sep 17 00:00:00 2001 From: Alec Armbruster Date: Fri, 8 Mar 2019 13:45:39 -0800 Subject: [PATCH] Update nginx.vhost.production --- nginx.vhost.production | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nginx.vhost.production b/nginx.vhost.production index ea0b91f1..058e6183 100644 --- a/nginx.vhost.production +++ b/nginx.vhost.production @@ -35,16 +35,14 @@ server { error_page 500 501 502 504 505 506 507 508 509 510 511 @err; error_page 503 @throttle; } - location @err { return 500 "server error. please try again later."; default_type text/plain; } - location @throttle { + location @throttle { return 503 "we've detected abuse on your ip. please wait and try again later."; default_type text/plain; } - listen 80; listen [::]:80; }