mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 08:50:53 +08:00
41 lines
1.1 KiB
CFEngine3
41 lines
1.1 KiB
CFEngine3
|
# service type private unpriv chroot wakeup maxproc command + args
|
|||
|
|
|||
|
service proxy
|
|||
|
{
|
|||
|
master_disable = yes
|
|||
|
master_service = 5006
|
|||
|
master_type = inet
|
|||
|
master_private = n
|
|||
|
master_unpriv = n
|
|||
|
master_chroot = n
|
|||
|
master_wakeup = -
|
|||
|
master_maxproc = 20
|
|||
|
# <09><>ҪԤ<D2AA><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ľ<EFBFBD><C4BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD> master_maxproc
|
|||
|
master_prefork = 2
|
|||
|
master_command = single_proxy
|
|||
|
master_log = {install_path}/var/log/single_proxy.log
|
|||
|
# master_args =
|
|||
|
|
|||
|
single_use_limit = 0
|
|||
|
single_pid_dir = {install_path}/var/pid
|
|||
|
single_queue_dir = {install_path}/var
|
|||
|
single_rw_timeout = 180
|
|||
|
single_buf_size = 8192
|
|||
|
|
|||
|
# single_in_flow_delay = 1
|
|||
|
# single_idle_limit = 600
|
|||
|
# single_owner = owner
|
|||
|
# single_delay_sec = 1
|
|||
|
# single_delay_usec = 5000
|
|||
|
# single_daemon_timeout = 1800
|
|||
|
# single_use_limit = 10
|
|||
|
|
|||
|
proxy_backend_addr = 127.0.0.1:80
|
|||
|
proxy_host_allow = [127.0.0.1, 127.0.0.1], \
|
|||
|
[10.0.0.0, 10.0.255.255], \
|
|||
|
[202.99.16.0, 202.99.16.255], \
|
|||
|
[60.28.250.0, 60.28.250.255], \
|
|||
|
[60.28.251.0, 60.28.261.255]
|
|||
|
# proxy_timeout = 60
|
|||
|
}
|