-
Notifications
You must be signed in to change notification settings - Fork 293
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
BAH-3545 | Add. Favicon To Home Page #913
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am noticing that we have a bit of redundancy with this index.html
file being present in both the proxy service and the bahmni-web service. I believe we can streamline this process and avoid maintaining the same file in multiple places.
Instead of duplicating the index.html
file, I suggest we centralize it within the bahmni-web service. Since the bahmni-web service is already serving this file, we can remove it from the proxy container.
To ensure that requests to the root path "/" are directed to bahmni-web, we can update the proxy configuration to include a ProxyPass rule for "/" pointing to bahmni-web.
Let me know if you have any thoughts or suggestions on this approach.
@umair-fayaz This index.html from bahmni-web is used only by k8s environment where proxy image is not used and in docker compose based deployments proxy container serves and thats the reason for the redundancy |
Yes, @mohan-13 . While I understand that the index.html from bahmni-web is specifically used in Kubernetes environments where the proxy image is not utilized, my suggestion was aimed at streamlining the process even for docker-compose based deployments by loading the index.html from bahmni-web. |
I agree. But not sure how all the redirections would behave when the root |
I agree with your concern about redirection behaviour when proxying the root path to bahmni-web. Testing all redirection scenarios is definitely crucial. To get a head start, I quickly tested it on a codespace environment. Here's what I did and observed:
Observed successful loading of |
JIRA -> BAH-3545