Skip to content

Configuring base URL prefix #58

Description

@LukeKeywalker

I plan to deploy Scanroute in the kubernetes cluster, and due to the ingress setup I would need to add a base URL prefix to every route, link, static resource etc...

For example:
K8s ingress controller address: https://k8s.ingress.local/
App's url prefix: asvs
App's home page url: https://k8s.ingress.local/asvs

I am able to deploy and reach the app's home page, but all the CSS, static images, links are broken since the asvs/ part of the links are missing.

I am not proficient with Django, but I'd happily take the hints on how to do that and create a PR if I had any success with that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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