Server listing on IP:port, with a matching server_name directive; Server listing on IP:port, with the default_server flag; Server listing on IP:port, first one defined; If there are no matches, refuse the connection
Try going bottom to top 4 to 1 for an easier way to understand upper rules override lower ones