This repository was archived by the owner on Feb 3, 2022. It is now read-only.
Repository navigation
v2.5.0-beta.2
Pre-release
Pre-release
- 鉁忥笍 Add a new option to the
logplugin to configure the line ending. By default, used\n.
New option:
# Logs plugin settings
logs:
(....)
# Line ending
#
# Default: "\n".
line_ending: "\n"- 鉁忥笍 Access log support at the
Infolog level.
http:
address: 127.0.0.1:55555
max_request_size: 1024
access_logs: true <-------- Access Logs ON/OFF
middleware: []
pool:
num_workers: 2
max_jobs: 0
allocate_timeout: 60s
destroy_timeout: 60s- 鉁忥笍 HTTP middleware to handle
X-Sendfileheader.
http:
address: 127.0.0.1:44444
max_request_size: 1024
middleware: ["sendfile"] <----- NEW MIDDLEWARE
pool:
num_workers: 2
max_jobs: 0
allocate_timeout: 60s
destroy_timeout: 60s- 鉁忥笍 Service plugin now supports env variables passing to the script/executable/binary/any:
service:
some_service_1:
command: "php test_files/loop_env.php"
process_num: 1
exec_timeout: 5s # s,m,h (seconds, minutes, hours)
remain_after_exit: true
env: <----------------- NEW
foo: "BAR"
restart_sec: 1- 鉁忥笍 Server plugin can accept scripts (sh, bash, etc) in it's
commandconfiguration key:
server:
command: "./script.sh OR sh script.sh" <--- UPDATED
relay: "pipes"
relay_timeout: "20s"The script should start a worker as the last command. For the pipes, scripts should not contain programs, which can close stdin, stdout or stderr.
馃┕ Fixes:
- 馃悰 Fix: grpc plugin fails to handle requests after calling
reset.