Skip to content

Instantly share code, notes, and snippets.

View ahanniga's full-sized avatar

Aidan Hannigan ahanniga

  • Hampshire, UK
View GitHub Profile
@ahanniga
ahanniga / nginx.conf-fragment.md
Created August 9, 2021 08:55
Example fragment of nginx.conf that directs incoming https connections from port 9001 to http://localhost:8080
# Tiddlywiki
server {
    listen 0.0.0.0:9001;
    server_name yourserver.com;

    root   /var/www;

    ssl                  on;
    ssl_certificate      path/to/fullchain.pem;

Tiddlywiki Auth Options

No access except to specified user/pass

export USERNAME=yourname
export PASSWORD=yourpassword
tiddlywiki . --listen \
    host=0.0.0.0 \
 port=8181 \