-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rr.dev.yaml
91 lines (83 loc) · 1.77 KB
/
.rr.dev.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: '3'
rpc:
listen: tcp://127.0.0.1:6001
server:
# on_init:
# command: "composer install"
# exec_timeout: 3m
command: "php public/index.php"
env:
- APP_RUNTIME: Baldinof\RoadRunnerBundle\Runtime\Runtime
http:
address: 0.0.0.0:80
internal_error_code: 505
access_logs: false
max_request_size: 256
raw_body: false
middleware: [ "static", "gzip" ]
pool:
debug: true
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",
]
headers:
cors:
allowed_origin: "*"
allowed_headers: "*"
allowed_methods: "GET,POST,PUT,DELETE"
allow_credentials: true
exposed_headers: "Cache-Control,Content-Language,Content-Type,Expires,Last-Modified,Pragma"
max_age: 600
static:
dir: "public"
forbid: [ ".php" ]
calculate_etag: false
weak: false
allow: [ ".txt", ".css", ".js" ]
num_workers: 0
max_jobs: 0
max_queue_size: 0
allocate_timeout: 60s
reset_timeout: 60s
stream_timeout: 60s
destroy_timeout: 60s
supervisor:
watch_tick: 1s
ttl: 0s
idle_ttl: 10s
max_worker_memory: 128
exec_ttl: 60s
metrics:
address: "127.0.0.1:2112"
status:
address: 127.0.0.1:2114
unavailable_status_code: 503
reload:
interval: 1s
patterns: [ ".php" ]
services:
http:
dirs: [ "." ]
recursive: true
ignore: [ "vendor" ]
patterns: [ ".php" ]
endure:
grace_period: 30s
print_graph: false
log_level: error
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