-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rr.prod.yaml
48 lines (43 loc) · 982 Bytes
/
.rr.prod.yaml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: "3"
server:
command: "php public/index.php"
env:
- XDEBUG_SESSION: "0"
rpc:
listen: tcp://127.0.0.1:6001
http:
address: 0.0.0.0:8080
middleware: [ "static", "gzip" ]
uploads:
forbid: [ ".php", ".exe", ".bat" ]
headers:
response:
Strict-Transport-Security: "max-age=31536000; includeSubDomains; preload"
static:
dir: "public"
forbid: [ ".php", ".htaccess" ]
pool:
num_workers: 2
debug: false
max_jobs: 18600
allocate_timeout: "5m"
destroy_timeout: "30s"
logs:
mode: development
channels:
http:
level: debug # Log all http requests, set to info to disable
server:
level: info # Everything written to worker stderr is logged
mode: raw
metrics:
level: debug
metrics:
address: "0.0.0.0:9180"
collect:
app_load_articles_duration:
type: gauge
help: "Duration of load articles query"
app_error_rate:
type: counter
help: "Error counter"