Skip to content

Settings

The server's settings are in /etc/flyingport.env – root and _flyingport can read it, it holds the secret key. After a change: rcctl restart flyingport.

Setting Meaning
PHX_HOST The host name the pages are reached at (links, and the check of the browser's origin)
PORT The port on BIND_ADDRESS (8090)
BIND_ADDRESS Where it listens (127.0.0.1: only relayd reaches it)
DATABASE_PATH The SQLite database (/home/flyingport/db/flyingport.db)
SECRET_KEY_BASE Signs the sessions and protects stored secrets; a change logs every user out
RELEASE_TMP The release's working files and its log (/home/flyingport/tmp)
POWERDNS_URL PowerDNS' API (http://[::1]:8081 on ns1: its webserver-address, -port)
POWERDNS_API_KEY PowerDNS' api-key; shown nowhere, logged nowhere
POOL_SIZE Database connections (default 5)

The mail server for login codes (two-factor authentication) is set on the pages: Admin › Settings.