configure a single server that handles both HTTP and HTTPS requests