summaryrefslogtreecommitdiff
path: root/cmd/rr/.rr.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rr/.rr.yaml')
-rw-r--r--cmd/rr/.rr.yaml56
1 files changed, 0 insertions, 56 deletions
diff --git a/cmd/rr/.rr.yaml b/cmd/rr/.rr.yaml
deleted file mode 100644
index 775cd6c3..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: 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"] \ No newline at end of file