wsgiapp.py
is a small python module that provides an interface between web servers with a WSGI interface and the TiddlyWeb Python code. It is used with Apache as well as other servers such as nginx. It has one simple job: presenting a function called application
with a WSGI signature to the Python interpreter in the web server.
It also provides a convenient per instance entry point for customization that cannot be accomplished in the tiddlywebconfig.py file and don't warrant a plugin.
wsgiapp.py
is distributed with the TiddlyWeb tarball or available from github.