Hi, I tried setting PHOENIX_HOST_ROOT_PATH to serve the app from /arize-phoenix but I’m getting errors in retrieving the application static assets (they’re still retrieved from the root):
The PHOENIX_HOST_ROOT_PATH environment variable is designed to work in conjunction with a reverse proxy, not directly from the application itself. This means that setting this variable alone will not change the root path for static assets. You need to configure a reverse proxy to handle the path prefix correctly.According to this GitHub issue and this Slack conversation, the PHOENIX_HOST_ROOT_PATH setting will only work when used with a reverse proxy setup. You can find an example of how to set up a reverse proxy with Phoenix here.Would you like more details on setting up a reverse proxy for this purpose?Sources:
- this GitHub issue
- this Slack conversation
💡Hint: Mention RunLLM in the thread for followups.