Instantly share code, notes, and snippets.

What would you like to do?
Setting up Tiddlywiki behind Nginx (c.f.
title: $:/config/tiddlyweb/host
./node_modules/.bin/tiddlywiki tw --server 9999 $:/core/save/all text/plain text/html username password
server {
# blah blah
location /tw/ {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# blah blah

This comment has been minimized.

Copy link

brool commented Jul 21, 2017

Assume your Tiddlywiki installation is in /yourtw, hosted on
Internally hosted on port 999
__config_tiddlyweb_host.tid is in /yourtw/tw/tiddlers/
startup is in /yourtw
yoursite is in /etc/nginx/sites-enabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment