From 846cec64f177a9cfef016a8225c4fae0faa29a0c Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Mon, 11 Jun 2018 14:57:47 +0300 Subject: more tests for http --- cmd/rr/.rr.yaml | 56 -------------------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 cmd/rr/.rr.yaml (limited to 'cmd') 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 -- cgit v1.2.3