Setting Up multiple TiddlyWiki behind authentication

129 views
Skip to first unread message

Carsten

unread,
Jun 18, 2021, 5:49:58 PM6/18/21
to TiddlyWiki

Hello everyone,

I am playing with TiddlyWiki now for about two weeks. And it works really nice on the SharePoint page at work (as .aspx) and works well locally inside the DesktopApp, through the RubyScript and so on. But I would like to put it on my web server, so I can access it
from any location. Home, Work, mobile phone.

I managed to run it via the built-in TiddlyWiki server NodeJS component thingy by executing

`tiddlywiki personal --init server` and then serving this on a custom port. Works nice. But at some point I ended up with "I maybe want to put my journal into a separate isolated TiddlyWiki". Unfortunately, I was not able to run two files from the same Tiddlywiki server. The server takes only one directory or one file.

Then I tried TiddlyServer which is cumbersome to set up because of not well written documentation. Took quite some time and trial and error to get through it. This is the closest solution I have found to get password protected wikis. The HMI / Website though is not pretty.

Are there any other solutions on how to serve multiple wikis from the same server instance? I am asking because my ports I can open on my hosting provider are limited, and I do not want to open 2,3,4 or 5 ports for multiple subdomains.

Thanks for any help.

If this has been asked and solved before, sorry, but I was not able to find it.

-- Carsten



Sebastián Ortega

unread,
Jun 20, 2021, 11:28:00 AM6/20/21
to TiddlyWiki
I run a couple tiddlywikis in the same server by using nginx in front of them. Each tiddlywiki runs normally in a different local port that is not reachable from the internet and nginx is configured to:
  • Add SSL
  • Proxy traffic to the corresponding tiddlywiki
  • Add HTTP basic authentication
Take a look at the reverse proxy docs.

Carsten Brüggenolte

unread,
Jun 20, 2021, 4:40:14 PM6/20/21
to tiddl...@googlegroups.com
Hello Sebastian,

thank you for your answer. This is exactly what I am running right now. I have two TW up and running and bound to two different ports. Each port uses a different subdomain. Unfortunately I am only allowed to have 10'ish ports per user on my hoster. And the others are used by others programs like teamspeak and databases. This is is not really a solution. I was more looking for a server which gives me more than one wiki, but organized as files either in one or in subdirectories. The TiddlyServer does that, but it is hard to configure, has an ugly interface and website and I am not so sure what is exposed and what not because the man page is not that specific and has no examples or good documentation.

The different ports is one solution, yes, but this is not what I was looking for. Sorry.

-- Carsten
> --
> You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/7uxzC7ulZGU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/41f20a94-6baf-4ea6-ae47-679943e2d939n%40googlegroups.com.

TW Tones

unread,
Jun 20, 2021, 8:49:28 PM6/20/21
to TiddlyWiki
Carsten,

Also;

Single file wikis work well on a php host using tw-receiver and you can also host and save to wikis on github (perhaps not for private use).

I dream of a hosted bob server on the internet to produce as many of my own online wikis with tiddlers that can be locked to stop contention but all this ngix talk scares me because it seems like a rabbit hole.

Regards
Tones
Reply all
Reply to author
Forward
0 new messages