block site in nginx (503)

replace local / part with this:

# site under attack. No need to kill the apache
location / {
  return 503;
}

Leave a Reply

Your email address will not be published. Required fields are marked *