Set up for Freeciv-web
Posted: Fri Aug 25, 2023 3:18 pm
I played FreeCiv a long, long time ago. I 'd like to play it again. I was looking at Freeciv-web and I noticed its requirements:
But below that it mentioned freeciv-proxy which sounds like it proxies the websocket to standard freeciv communications.
Are BOTH required, or can I just use the proxy with the unpatched server?
Thanks for the clarification.
So it sounds like the bundled freeciv server has patches for Websocket communications.Freeciv - the Freeciv C server, which is checked out from the official Git repository, and patched to work with a WebSocket/JSON protocol. Implemented in C.
Freeciv-proxy - a WebSocket proxy which allows WebSocket clients in Freeciv-web to send socket requests to Freeciv servers. WebSocket requests are sent from Javascript in Freeciv-web to nginx, which then proxies the WebSocket messages to freeciv-proxy, which finally sends Freeciv socket requests to the Freeciv servers. Implemented in Python.
But below that it mentioned freeciv-proxy which sounds like it proxies the websocket to standard freeciv communications.
Are BOTH required, or can I just use the proxy with the unpatched server?
Thanks for the clarification.