-
Notifications
You must be signed in to change notification settings - Fork 25
redirects to localhost #23
Comments
I just merged a PR that made a couple of modifications to the Dockerfile. Could you check to see if these help at all for your issue? Thanks! |
It's still happening :( Then when I get to Maybe the problem is that there is some config that I don't know about to enable outside connections? |
I was able to reproduce this exact issue via docker + Ubuntu on WSL2, with remote clients always being redirected to localhost. Looks to be because line 6 (net.domain) of |
Understood. I haven't looked into this issue in-depth, but from what you're describing, it sounds like this could be an issue that is also prevalent in the official Lichess Development Onboarding instructions. Is this accurate? lichocker's goal is to make Lichess onboarding faster and easier. If there's an issue with developer onboarding in general, that discussion might be better to have in the lila repository. |
I encountered this problem as well. In lieu of lila enabling the easy creation of a server other than localhost development, lichocker may benefit by having instructions that point this out and suggest SSH Port Forwarding to allow local clients to hit localhost but be redirected to the actual server. |
I installed the container on my Debian server and got the "listening on 0.0.0.0:9663" message but when I navigated to 192.168.0.2:9663 (the server IP) from a windows machine, it redirected to localhost:9663.
I then tried adding it to the Debian machine's (working) reverse proxy
ProxyPass "/chess" "http://0.0.0.0:9663" ProxyPassReverse "/chess" "http://0.0.0.0:9663"
and now it gives a too many redirects error...
I can't for the life of me figure out why it redirects to localhost, any help would be appreciated
The text was updated successfully, but these errors were encountered: