Update nginx.vhost.production

This commit is contained in:
Alec Armbruster 2019-03-08 13:45:39 -08:00 committed by GitHub
parent 3e363b861b
commit c769033c8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}