diff options
| author | winter | 2025-02-23 18:32:09 +0000 |
|---|---|---|
| committer | winter | 2025-02-23 18:32:09 +0000 |
| commit | 261ab1364aa40384b0315be60e78cd89ea7fe661 (patch) | |
| tree | bf114af430c761abfaf33e814e3cf9ba0ed096d2 /README.md | |
| parent | 1ba56a5b687e6c906c2b24e5b37df119ef5752e3 (diff) | |
implement policies
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |
