Configuration
Warning!
This page applies to an older version of Orbited. (Version 0.3)
Orbited searches for an orbit.cfg file in the directory where you run the orbited command. If there is no orbit.cfg, the default configuration will be used.
[global] orbit.port = 9000 http.port = 8000 admin.enabled = 0 proxy.enabled = 0 proxy.keepalive = 0 proxy.keepalive_default_timeout = 300 log.enabled = 1 [admin] admin.port = 9001 [proxy] [log] log.access = screen log.error = screen log.event = screen
A user supplied orbit.cfg file may override any of these options. Most developers will enable the Orbited proxy while they are creating the application. Here is a typical config file that enables the proxy.
[global]
proxy.enabled = 0
proxy.keepalive = 0
[proxy]
/static -> http://127.0.0.1:80 # All static content is served by apache on port 80
/ -> http://127.0.0.1:4700 # The web app is running on port 4700
[log]
log.access = screen, /var/log/orbited.access.log
log.error = screen, /var/log/orbited.error.log
log.event = screen