This Gist is about how to setup TiddlyWiki behind an Apache proxy in a sub- (folder / path / URL).
When starting TiddlyWiki add a path-prefix:
tiddlywiki --listen "path-prefix=/my/path"
The alternative is using a specific tiddler, but that did not work for me for some reason.