add a server_type directive to specify the upstream type