# rpc bus allows php application and external clients to talk to rr services. rpc: # enable rpc server enable: true # rpc connection DSN. Supported TCP and Unix sockets. listen: tcp://127.0.0.1:6001 # http service configuration. http: # set to false to disable http server. enable: true # http host to listen. address: 0.0.0.0:8080 # max POST request size, including file uploads in MB. maxRequest: 200 # file upload configuration. uploads: # list of file extensions which are forbidden for uploading. forbid: [".php", ".exe", ".bat"] # http worker pool configuration. workers: # php worker command. command: "php psr-worker.php pipes" # connection method (pipes, tcp://:9000, unix://socket.unix). relay: "pipes" # worker pool configuration. pool: # number of workers to be serving. numWorkers: 4 # maximum jobs per worker, 0 - unlimited. maxJobs: 0 # for how long worker is allowed to be bootstrapped. In nanoseconds :( allocateTimeout: 600000000 # amount of time given to worker to gracefully destruct itself. In nanoseconds :( destroyTimeout: 600000000 # static file serving. static: # serve http static files enable: true # root directory for static file (http would not serve .php and .htaccess files). dir: "public" # list of extensions for forbid for serving. forbid: [".php", ".htaccess"]