Redirect http to https in nginx Setup password authentication in nginx Block empty user agent nginx Block particular user agent (bots) in nginx