From a17d8616fbcf672b87ad7b6da465b45dc04dbf63 Mon Sep 17 00:00:00 2001 From: Mike Thomas Date: Sat, 17 Nov 2018 22:04:33 +0000 Subject: [PATCH] Added SERVE_URI docs --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a680df0..dea20ff 100644 --- a/README.md +++ b/README.md @@ -29,3 +29,5 @@ Simply provide the USERNAME and PASSWORD env variables to customise. If you are in a memory-constrained environment, you can provide the `NODE_MEM` environment variable to specify the memory ceiling (in MB) + +To serve the tiddlywiki at a [non-root prefix path](https://tiddlywiki.com/static/Using%2520a%2520custom%2520path%2520prefix%2520with%2520the%2520client-server%2520edition.html) set the `SERVE_URI` environment variable: this variable ''must'' start with a forward slash character. The tiddlywiki will be served by the container at http:///${SERVE_URI} - the container initialization script takes care of setting the required host configuration tiddler. \ No newline at end of file