How would I run Dependency Track behind a Nginx on a single domain #3355
Unanswered
andrepaulotek
asked this question in
Q&A
Replies: 1 comment
-
Yes, it is possible. I'm running the API and UI containers as two services in Kubernetes. The ingress setup looks very similar to your ngnix setup. I'm no NGNIX experts, but maybe the issue has something to do with the priority between both "location" elements. Since "/api" also matches "/", you must ensure it is evaluated first. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried running Dependency Track locally on 2 different domains (dependency.local and api.dependency.local).
Because I'm using local domains, the certificates that I'm using are self-signed and there's a big warning before opening it the first time. The problem is once you accept the self-signed certificate for dependency.local, its not accepted for api.dependency.local and it will fail the login.
So I tried to switch everything to a single domain and move the API to dependency.local/api but doesn't seem to work.
This is my config:
If I visit https://dependency.local/api I see the error message:
Uncaught internal server error
Is it possible to run this on a single domain on separate subdirectories?
Beta Was this translation helpful? Give feedback.
All reactions