server

package
v0.0.0-...-263c4a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2017 License: LGPL-3.0 Imports: 8 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL