Running Tiddlywiki on a server
I’m still tinkering with Tiddlywiki because I’m convinced there’s something to it. Version 5.1.18 was released recently and included improvements to the web server features.
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.
|
|