Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: Self hosting frontend behind a proxy #1395

Closed
@Kshitiz1403

Description

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When self hosting the frontend behind a proxy, for e.g.
/low-coder/...
the JS and CSS still point to the root URL i.e. https://proxy.com/static/index-15a42a4d.js

Expected Behavior

There should be a config to specify frontend path so that the full path can be resolved to https://proxy.com/low-coder/static/index-15a42a4d.js

Steps to reproduce

Self host the frontend behind an nginx proxy against some path.

Environment

No response

Additional Information

If we can make the parameter process.env.PUBLIC_URL configurable, this can be easily achieved.

ensureLastSlash(process.env.PUBLIC_URL)

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

        AltStyle によって変換されたページ (->オリジナル) /