This is the code currently being used to run john2143.com and jschmidt.co (443 + 80)
By default, if just an ip and port are given, it acts as a basic routing service, supporting
- Static content (/pages/ directory)
- Redirects (redirs table strings, see main.js)
- Funcions (simiarly to createServer().listen, but with some helpers)
If ssl keys and two ports are provided, then it will run two servers, one to upgrade http requests to https and one to serve secure content
If (postgres) database info is provided, it will also start a image server, juush. Access /nuser/ to create users and obtain their upload key.
- Go to destination settings
- Scroll to custom uploader
- Click import from clipboard (after copying settings)
- Test settings