Documentation ¶
Overview ¶
Package server runs the Essix server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run()
Run runs the application server. HTTP traffic on port 80 is redirected to HTTPS on port 443.
Set the DOMAIN environment variable to the domain name to serve HTTPS for; the certificate files <DOMAIN>.crt & <DOMAIN>.key are expected in /resources/certificates. `essix cert` generates certificates.
Set the DB_NAME & DB_ADDRESS environment variables for the RethinkDB connection. Defaults: DB_NAME=essix, DB_ADDRESS=db1.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.