diff options
author | Wolfy-J <[email protected]> | 2018-06-11 14:57:47 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-11 14:57:47 +0300 |
commit | 846cec64f177a9cfef016a8225c4fae0faa29a0c (patch) | |
tree | a0dc1df41ab25793a2dd5ada80f3ca5de4615e7d /cmd/rr | |
parent | 78fb74cfa5c0156f70c095a4f2cfee9851a9dc0f (diff) |
more tests for http
Diffstat (limited to 'cmd/rr')
-rw-r--r-- | cmd/rr/.rr.yaml | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/cmd/rr/.rr.yaml b/cmd/rr/.rr.yaml deleted file mode 100644 index 752573f6..00000000 --- a/cmd/rr/.rr.yaml +++ /dev/null @@ -1,56 +0,0 @@ -# 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: :8081 - - # max POST request size, including file uploads. (default: 1GB) - maxRequest: 1073741824 - - # 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 /Users/wolfy-j/Projects/phpapp/webroot/index.php rr pipes --no-ansi" - - # 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. - allocateTimeout: 60000000 - - # amount of time given to worker to gracefully destruct itself. - 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: "/Users/wolfy-j/Projects/phpapp/webroot" - - # list of extensions for forbid for serving. - forbid: [".php", ".htaccess"]
\ No newline at end of file |