* Implement sighandler for int, quit, term signals * Implement log reopen on sighup * Catch http.Server's error log * Implement logfile setting in config
16 lines
363 B
INI
16 lines
363 B
INI
[settings]
|
|
; This server can be behind reverse-proxy, set here http or https proto, correct for incoming connections
|
|
proto = http
|
|
|
|
; we listen on *:this_port
|
|
port = 9980
|
|
|
|
; timeout for upstream connection
|
|
timeout = 5
|
|
|
|
; loglevel - info or debug, info is what you want
|
|
loglevel = info
|
|
|
|
; logfile - log to this file, default stderr
|
|
;logfile = /var/log/joyproxy.log
|