-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration Values.
production binds to ports 80 and 443 for http/https
development binds to whatever ports are set below.
Enables additional debug output.
Redis server connection details, this most certainly should
be running on the same machine as OctoRP, at the very least
on the same local network with a fast connection.
Set this to whatever base host your wildcard ssl certificate is configured
for. ie: paperelectron.com
Bind to a specific ip address on your server, this is useful for servers with multiple
NICs. '0.0.0.0' binds to all interfaces.
Redirect all non-http traffic to https.
https listen port with NODE_ENV=development
http listen port with NODE_ENV=development
Base path that OctoRP will look for ssl certificate files.
Servers SSL key file.
Servers SSL certificate file.
Comma separated list of files for your Root CA certificate chain, ordered from most
authoritative to least.
{
"NODE_ENV": "development",
"octorp_debug": false,
"octorp_redis_url": "redis://127.0.0.1:6379/0",
"octorp_default_address": "localhost",
"octorp_custom_index_path": false,
"octorp_bind_address": "0.0.0.0",
"octorp_redirect_ssl": true,
"octorp_dev_ssl_port": 8443,
"octorp_dev_non_ssl_port": 8080,
"octorp_ssl_base": "/Users/$USER/.octorp/ssl",
"octorp_ssl_key": "key.pem",
"octorp_ssl_cert": "cert.pem",
"octorp_cert_chain": "Root.crt, other.crt, intermediate.crt"
}