mirror of
https://github.com/snoyberg/keter.git
synced 2024-12-14 17:12:46 +03:00
f74a95a852
Implemented connection time bound option for both V04 and V10 configurations, default value is set to 5000ms.
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
# 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
|
|
|
|
# Control the port numbers assigned via APPROOT
|
|
# external-http-port: 8080
|
|
# external-https-port: 450
|
|
|
|
# Set additional environment variables for all apps
|
|
# env:
|
|
# key: value
|
|
|
|
# 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 |