Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 24 lines (18 sloc) 836 Bytes
import multiprocessing
daemon = True
proc_name = 'awsjwtauth'
user = 'awsjwtauth'
group = 'gunicorn'
workers = multiprocessing.cpu_count() * 2 + 1
max_requests = 1000
keep_alive = 30
bind = "127.0.0.1:8123"
chdir = '/srv/awsjwtauth'
statsd_host = '127.0.0.1:8125'
statsd_prefix = 'awsjwtauth.'
syslog = False
capture_output = True
access_log_format = '{"remote_ip":"%({X-Real-Ip}i)s", "@timestamp":"%(t)s", "server_host":"%({Host}i)s", "server_name":"awsjwtauth", "status":"%(s)s", "bytes":%(B)d, "urlpath":"%(U)s", "urlquery":"%(q)s", "method":"%(m)s", "duration":%(D)d, "lc-sid":"%({X-Lc-Sid}i)s", "lc-rid":"%({X-Lc-Rid}i)s", "lc-profile":"%({X-Lc-Profile}i)s", "lc-experiment":"%({X-Lc-Experiment}i)s"}'
accesslog = '/var/log/lovecrafts/awsjwtauth/access.log'
errorlog = '/var/log/lovecrafts/awsjwtauth/error.log'
reload = True