I upgraded to 5.2.7 and was trying to get the new whiteboard plugin with tldraw to work.
The issue I’m facing is that I’m not a caddy user, rewriting the compose file was not a problem but as it seems the plugin is hardcoded to access port 6239 from the seatable installation:
I don’t really want to open up a new port but rather have it running under /tldraw for example.
So assuming my seatable is running under https://table.example.com I would want to have the whiteboad under https://table.example.com/tldraw
In my nginx I could accomplish this with
location /tldraw/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header CLIENT_IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 86400;
proxy_pass http://10.10.10.10:6239/;
}
now if I do a curl to https://table.example.com/tldraw/ping
it am getting a correct response
{"status":"pong"}
so all I need is some magic setting to tell the whiteboard plugin to use a different URL for tldraw.
I checked the plugin zips but could only find the old excalidraw zips.