2013-09-15 11:43:00 +04:00
|
|
|
# Sample Keter config file. Would generally be placed at /opt/keter/etc/keter-config.yaml.
|
|
|
|
|
|
|
|
# Directory containing incoming folder, where to store logs, etc. Relative to
|
|
|
|
# the config file directory.
|
|
|
|
root: ..
|
|
|
|
|
|
|
|
# Keter can listen on multiple ports for incoming connections. These ports can
|
|
|
|
# have HTTPS either enabled or disabled.
|
|
|
|
listeners:
|
|
|
|
# HTTP
|
|
|
|
- host: "*4" # Listen on all IPv4 hosts
|
|
|
|
#port: 80 # Could be used to modify port
|
|
|
|
# HTTPS
|
|
|
|
- host: "*4"
|
|
|
|
#port: 443
|
|
|
|
key: key.pem
|
|
|
|
certificate: certificate.pem
|
|
|
|
|
|
|
|
# User to run applications as
|
|
|
|
|
|
|
|
# setuid: ubuntu
|
|
|
|
|
|
|
|
# Get the user's IP address from x-forwarded-for. Useful when sitting behind a
|
|
|
|
# load balancer like Amazon ELB.
|
|
|
|
|
|
|
|
# ip-from-header: true
|
2014-09-21 02:24:10 +04:00
|
|
|
|
|
|
|
# Control the port numbers assigned via APPROOT
|
|
|
|
# external-http-port: 8080
|
|
|
|
# external-https-port: 450
|
2014-10-20 09:34:54 +04:00
|
|
|
|
|
|
|
# Set additional environment variables for all apps
|
|
|
|
# env:
|
|
|
|
# key: value
|
2015-04-30 06:59:22 +03:00
|
|
|
|
|
|
|
# Connection time bound in milliseconds, set to 0 to have no time bound,
|
|
|
|
# i.e. keep connections alive indefinitely. Default value is 5000.
|
|
|
|
# connection-time-bound: 5000
|