Running Tiddlywiki on a server
The thing I’ve been waiting for is the ability to run the node version as read-only for anonymous users but editable by authenticated users. This worked great while testing on my local machine, but I had trouble when running it out on a server, proxied via nginx.
The problem was that even after I authenticated, the wiki was still in read-only mode. I think what may be happening is that the nginx proxy isn’t forwarding the proper headers and so Tiddlywiki doesn’t know that I’m logged in.
Another issue was that the node process would die after a handful of requests. I’d see a “Killed” message in the terminal and the app would stop responding.
So for now I’m still doing it the old-fashioned way. I’m editing locally and rsync-ing the results to the server. I created a little Makefile to make it easier.