blob: c84179bfd49668b5a8127baf2e34449381107966 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
rpc:
listen: tcp://0.0.0.0:6001
server:
command: "php /etc/psr-worker.php"
http:
address: 0.0.0.0:15395
max_request_size: 1024
middleware: [ "websockets" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
trusted_subnets: [ "10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10" ]
pool:
num_workers: 1
redis:
addrs:
- "redis:6379"
websockets:
pubsubs: [ "memory" ]
path: "/ws"
logs:
mode: production
level: error
endure:
grace_period: 10s
print_graph: false
log_level: panic
|