f-ld commented on issue #5623: Dashboard assets referenced from absolute path fail to load when running behind a proxy URL: https://github.com/apache/pulsar/issues/5623#issuecomment-555404895 Got this issue as well (before giving up with dashboard using a LOT of memory and not being of any use because of many bugs. But I did not try latest versions). I did fix it with a workaround in dashboard deployment yaml: ``` # Thus is a terrible patch to get uwsgi/django serve the dashboard under /pulsar path command: ["sh", "-c"] args: - > sed -i "s#STATIC_URL = '/static/'#STATIC_URL = '/pulsar/static/'#" /pulsar/django/dashboard/settings.py && sed -i "s#\[uwsgi\]#[uwsgi]\nroute-run = addvar:SCRIPT_NAME=/pulsar#" /pulsar/conf/uwsgi.ini && /pulsar/start.sh ``` i.e. add this `command` and `args` entries to perform a couple sed commands before running the default `/pulsar/start.sh` script. This was (at least on 2.3.x, to be confirmed with latest versions) patching the code of the dashboard to get it working with same configuration.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services