Closed rick-gnous closed 1 year ago
Could you take a look over this issue to see if that solves your problem? https://github.com/mujx/hakatime/issues/14#issuecomment-767836113
I forget to say I've tried with these configuration and it doesn't work. I've created a subdomain for it and use 1.7.2 and it works fine. I think it's coming from nginx which doesn't redirect /index.js to proxy but to my root folder.
Check the linked issue. You'll need to rewrite some paths and also provide the prefix path on hakatime to work like this.
Strangely, v1.7.1 and v1.7.2 docker versions don't work on Debian 11 with reverse proxy with Nginx. I got a white screen with nothing. Seems like it doesn't find the JavaScript file ? I'll investigate later if I've time. I use docker compose file to launch Hakatime. v1.7.0 and v1.6.3 work fine.
my basic nginx configuration: