-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to access static files for the custom basepath #512
Comments
Thanks for filing this issue, @Arbuzov. image:
tag: "v4.1.11" |
As a workarkound, I created another Ingress with rewrite rule: /netbox/static/ -> /netbox/ - this might help |
@bcskda
|
Shouldnt pathType be ImplementationSpecific for regex to work? |
I tried the ingress route and I'm still getting the error |
@Sharvesh0306 As an alternative, you may try what was my suggestion for initial investigation.
|
@LeoColomb Looks like the issue was resolved in 5.0.23 update. I was able to rollout the deployment successfully. Thanks for your help. |
Thanks for the reply @Sharvesh0306. |
I was able to get netbox hosted at sub path /netbox by disabling ingress and using Traefik as ingress. The idea is to not strip the /netbox prefix for most of the site using Probably something to be fixed in the static webserver ? Ignoring the extract from values.yaml
|
The Helm chart version
netbox-5.0.22, netbox-5.0.18
Environment Versions
Custom chart values
Current Behavior & Steps to Reproduce
Deployed with the:
Can`t access static files via external IP getting:
Can`t get static via proxy access:
Access without the prefix works well:
I have tried to add STATIC_URL: /netbox/static/ into configmap netbox.yaml as it was suggested on the page. No success.
Expected Behavior
Static file should be available
NetBox Logs
The text was updated successfully, but these errors were encountered: