River config uses https if port == 443