Replies: 1 comment 2 replies
-
Are you using the official helm charts for managing this deployment or separate manifests? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I'm trying to build development environment using microk8s. I have no problem using nginx ingres and host the application on the root address of my cluster (so when I enter https://www.my-nautobot.net/ i'm getting the page and everything is working fine.
I'm using version 1.6.2 and the helm charts published on github.
But I would like to host multiple instances on a single cluster. I have created separated namespaces and I installed nautobot there and this part is working fine. Reconfiguring ingress seems to be straightforward too: I point given "subfolder" url to the service in a given namespace.
For example:
/instance1 (https://www.my-nautobot.net/instance1) points to namespace instance1 that is having nautobot installed
/instance2 (https://www.my-nautobot.net/instance2) points to another namespace
and so on.
Now this is the place where I'm strugging with:
FORCE_SCRIPT_NAME = "/instance1"
orFORCE_SCRIPT_NAME = "/instance1/"
in naubot_configand none of the above seems to be working as hoped.
After configuring any of the above, I get 404 response when I enter the url.
What I got working is static files configuration:
STATIC_URL = "/instance1/static/"
<- this affects static files correctly, I'm able to download any javascript library/themes/documentation etc correctly.This is the result I'm getting from the UI when accessing given instance.
What I noticed is that "log in" link in upper right looks like this:
https://www.my-nautobot.net/instance1/login/?next=/instance1/instance1
So the "instance1" string is duplicated.
Do I miss something? Is there any other parameter that I should be used? Do you have a guideline how to address it?
Is that configuration supported, because maybe it isn't?
Thank you in advance for any comments regarding this.
Beta Was this translation helpful? Give feedback.
All reactions