i'm trying to use this plugin in backstage instances that is deployed in k8s exposed via public ingress (nginx). having headlampUrl containing port 4466 & FE calling this headlampUrl from browser end , this port needs to be exposed via nginx.
exposing 4466 port is not recommended and straightforward from nginx ingress. can this headlampUrl be changed to something like:
const headlampUrl =
config.getOptionalString('headlamp.url') ||
`${window.location.protocol}//${window.location.hostname}/{somepath}`;
file link
having default ports (80/443) with some path/uri , will enable reaching it via same backstage url and on some path.