aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorwinter2025-02-23 18:32:09 +0000
committerwinter2025-02-23 18:32:09 +0000
commit261ab1364aa40384b0315be60e78cd89ea7fe661 (patch)
treebf114af430c761abfaf33e814e3cf9ba0ed096d2 /README.md
parent1ba56a5b687e6c906c2b24e5b37df119ef5752e3 (diff)
implement policies
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 01b0bf8..9fe8e2e 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,17 @@ whenever you want to update to the latest version (from git) you should:
if it looks messed up in your web browser after updating, you should be able
to fix it by force reloading the page once
+## policies
+
+digitigrade has a "policy" mechanism that allows you to alter or outright
+reject incoming notes/actors/interactions as well as anything created by local
+users, according to your needs. there are some built-in policies (such as
+`Digitigrade\Policy\BlockInstance` which rejects anything from certain
+instances) and you can configure them in `policies.conf.php`.
+
+the default configuration allows you to specify a list of blocked instances in
+the file `blocked-instances.txt`, one domain per line
+
## sample nginx configuration
```nginx