summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.rr.yaml')
-rw-r--r--.rr.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.rr.yaml b/.rr.yaml
index a58ea112..295eb99a 100644
--- a/.rr.yaml
+++ b/.rr.yaml
@@ -36,6 +36,9 @@ http:
# list of file extensions which are forbidden for uploading.
forbid: [".php", ".exe", ".bat"]
+ # cidr blocks which can set ip using X-Real-Ip or X-Forwarded-For
+ trustedSubnets: ["10.0.0.0/8", "127.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "::1/128", "fc00::/7", "fe80::/10"]
+
# http worker pool configuration.
workers:
# php worker command.
@@ -58,7 +61,7 @@ http:
# amount of time given to worker to gracefully destruct itself.
destroyTimeout: 60
-# monitors roadrunner server(s)
+# monitors rr server(s)
watch:
# check worker state each second
interval: 1