这是indexloc提供的服务,不要输入任何密码
Skip to content

headlampUrl issue when deployed with backstage and ngnix ingress #8

@navpreet-securitas

Description

@navpreet-securitas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions