Skip to content

Serve Leaf from URL sub path #601

@UCI-MIND-IT

Description

@UCI-MIND-IT

Hello,

Our institute is interested in deploying Leaf for multiple datasets/cohorts, and it seems like Leaf is built to be deployed at the root of a web domain. We only have a single physical location, and IP addresses are limited there, so it would be difficult for us to set up multiple dedicated domain names and IP addresses for each of our Leaf instances.

We do have a general-purpose website for researchers and we could feasibly deploy our Leaf instances as sub-paths within this website, but (let us know if we're mistaken) from what we could glean on documentation for building Leaf's front-end client and serving Leaf with Apache, Leaf does not support deployment behind a sub path.

For example, instead of serving Leaf from URLs that look like this:

leaf1.mind.uci.edu
leaf2.mind.uci.edu

Could Leaf be served from URLs that look like this?

site.mind.uci.edu/leaf1
site.mind.uci.edu/leaf2

We have previously deployed self-hosted apps that support this feature, such as Shlink (which involved recompiling their Node frontend web client with a small configuration tweak in package.json), and are wondering if something similar could be implemented for Leaf to improve its compatibility in different deployment environments.

Thank you for your time and consideration!

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