[Self-hosted] FLUXER_PUBLIC_PORT is ignored by several generated public endpoints when using a non-standard HTTPS port

(#700) Bug Fixed self-hosting voice

Thread

Comment by @abramyangCN
RexSystem 1 vote originally by @abramyangCN on GitHub OP
I managed to get Fluxer working behind Nginx Proxy Manager on a non-standard HTTPS port (4443). Until there's an official fix or recommendation, I had to update the public endpoint URLs in deploy/self-hosting/docker-compose.yml to include :${FLUXER_PUBLIC_PORT}. For example:
FLUXER_MARKETING_ENDPOINT=${FLUXER_PUBLIC_SCHEME}://${FLUXER_DOMAIN}:${FLUXER_PUBLIC_PORT}
FLUXER_MEDIA_ENDPOINT=${FLUXER_PUBLIC_SCHEME}://${FLUXER_DOMAIN}:${FLUXER_PUBLIC_PORT}/media
FLUXER_MEDIA_PROXY_UPLOAD_RELAY_ENDPOINT=${FLUXER_PUBLIC_SCHEME}://${FLUXER_DOMAIN}:${FLUXER_PUBLIC_PORT}/media
...
I also set:
FLUXER_LIVEKIT_URL=${FLUXER_PUBLIC_SCHEME}://${FLUXER_DOMAIN}:${FLUXER_PUBLIC_PORT}/livekit
This resolved the missing port issues in my deployment. I'm not sure if this is the intended configuration, but it may help anyone deploying behind a reverse proxy on a non-standard HTTPS port.