Hi,
We are trying to run Jaeger UI under Reverse Proxy (apache-httpd) and we run into the same issue mentioned under
i.e; We just get a response with empty body only with
<script type="text/javascript" src="./static/js/main.4f0c2202.js"></script>
Our Query UI config :
command:
- "/go/bin/query-linux"
- "--config-file=/conf/query.yaml"
- "--query.base-path=/jaeger"
Reverse proxy conf:
where jaeger-query is the K8 service name
Solutions tried:
- Tried "--query.static-files=/go/jaeger-ui/" in UI config
Query UI version: 1.6
Questions:
1) Is there anything else are we missing in UI Config ?
2) Is --query.base-path=/jaeger paramater's use is to only append /jaeger before /search of UI i.e; (myurl/jaeger/search) ?
One should be able to use a URL prefix with the Jaeger UI.
The steps necessary:
Checkout the Jaeger UI repo
Modify package.json#homepage value to be whatever your prefix is (I tested with "/xyz")
Build the UI
yarn && yarn build
Configure the query-service to serve the generated statis assets (--query.static-files)
Are these changes still necessary?
Regards,
Anand D