summaryrefslogtreecommitdiff
path: root/.rr.yaml
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-04 18:52:24 +0300
committerWolfy-J <[email protected]>2019-05-04 18:52:24 +0300
commit117a347b5234bce4168c332f5471855427399b7b (patch)
tree256eccc13a6a8f8e29684a9c4e0ed1892a4139ec /.rr.yaml
parent17c259e8e0a7988b4336643c4d180733663dbaa3 (diff)
polish
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