Wrong Metro URL when using EXPO_PACKAGER_PROXY_URL / EXPO_MANIFEST_PROXY_URL?

I’m trying to set up a reverse proxy but ran into a couple of problems with expo-cli. I’ve set the following environment variables before running Expo CLI:

EXPO_PACKAGER_PROXY_URL=https://foo.dev.xyzzy.com
EXPO_MANIFEST_PROXY_URL=https://foo.dev.xyzzy.com

Expo CLI then says:

“Metro waiting on exp://foo.dev.xyzzy.com:443”

Shouldn’t the URL be “exps://foo.dev.xyzzy.com” instead?

When I try to open the QR code in Expo Go on Android/iOS, it doesn’t work because it tries to connect to foo.dev.xyzzy.com using HTTP in port 443. Moreover, if I use the “Enter URL manually” feature in Expo Go, with URL exps://foo.dev.xyzzy.com, I’m able to open the app in iOS Expo Go, but it fails to load in Android Expo Go. The error is “Packager is not running at http://foo.dev.xyzzy.com:443”, so it’s trying to connect with HTTP to 443 again. As an additional note, the URL it’s connecting to seems to be originating from manifest file.