Created on 11-05-2015 03:58 PM - edited 09-16-2022 02:48 AM
Hi.
I setup Hue load-balancing following instructions on
So i have nginx running and everything seems working fine.
However when I open a file from File Browswer (http://hueserver:8888/filebrowser/view/filepath)
the page gets redirected to http://hue/filebrowswer/view/filepath, and shows page not found error
i think the unexpected "hue" hostname comes from the upstream name on nginx configuration.
Anyone has any idea how to fix this?
Thanks
Ben
Created 12-01-2015 02:35 PM
got it fixed by adding
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
to location /{ }
other workaround is to upgrade to cloudera 5.5 (hue 3.9)
Created 12-01-2015 02:35 PM
got it fixed by adding
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
to location /{ }
other workaround is to upgrade to cloudera 5.5 (hue 3.9)
Created 12-02-2015 06:05 AM
Thank you for sharing the solution ben123. 🙂