42 lines
914 B
YAML
42 lines
914 B
YAML
# https://roadrunner.dev/docs/intro-config/2.x/en
|
|
version: "2.7"
|
|
|
|
server:
|
|
command: "php public/index.php"
|
|
env:
|
|
- APP_RUNTIME: Baldinof\RoadRunnerBundle\Runtime\Runtime
|
|
- APP_ENV: prod
|
|
|
|
http:
|
|
address: 0.0.0.0:8080
|
|
middleware: [ "static", "gzip" ]
|
|
uploads:
|
|
forbid: [ ".php", ".exe", ".bat" ]
|
|
static:
|
|
dir: "public"
|
|
forbid: [ ".php", ".htaccess" ]
|
|
pool:
|
|
max_jobs: 16
|
|
supervisor:
|
|
max_worker_memory: 256
|
|
|
|
logs:
|
|
mode: production
|
|
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: error
|
|
|
|
# Uncomment to use metrics integration
|
|
# rpc:
|
|
# listen: tcp://127.0.0.1:6001
|
|
|
|
# Uncomment to use metrics integration
|
|
# metrics:
|
|
# # prometheus client address (path /metrics added automatically)
|
|
# address: "0.0.0.0:9180"
|