diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-19 11:22:36 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-19 11:22:36 +0000 |
commit | b252d06f3ad200480255adb0beb3bf215cf030e4 (patch) | |
tree | 5b621ad594c6929b1a9b0ae251ae56abea163364 /doc/markdown/migration.md | |
parent | 99b18d6183aa16afa94154fc4c953fe8c1853eca (diff) | |
download | rspamd-b252d06f3ad200480255adb0beb3bf215cf030e4.tar.gz rspamd-b252d06f3ad200480255adb0beb3bf215cf030e4.zip |
[Doc] Use UCL highlighter instead of nginx
Diffstat (limited to 'doc/markdown/migration.md')
-rw-r--r-- | doc/markdown/migration.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/markdown/migration.md b/doc/markdown/migration.md index 7995d1992..66d77f63c 100644 --- a/doc/markdown/migration.md +++ b/doc/markdown/migration.md @@ -16,7 +16,7 @@ Now both redis and sqlite3 follows the common principles for per-user statistics If you need old behaviour, then you'd need to use separate classifier for per-user statistics, for example: -~~~nginx +~~~ucl classifier { tokenizer { name = "osb"; @@ -61,7 +61,7 @@ that now tokens are generated from the normalized words and there are various im statistics model used in pre 1.0 versions. Therefore, to use all these advantages you should either **relearn** your statistics or continue using your old statistics **without** new features by adding `compat` parameter: -~~~nginx +~~~ucl classifier { ... tokenizer { @@ -73,7 +73,7 @@ classifier { The recommended way to create statistics now is `sqlite3` backend (which is incompatible with old mmap backend however): -~~~nginx +~~~ucl classifier { type = "bayes"; tokenizer { @@ -116,7 +116,7 @@ specified then `password` is used for both commands. Here is an example of the full configuration of rspamd controller worker to serve webui: -~~~nginx +~~~ucl worker { type = "controller"; bind_socket = "localhost:11334"; @@ -262,4 +262,4 @@ end Rspamd now uses `HTTP` protocols for all operations, therefore an additional client library is unlikely needed. The fallback to old `spamc` protocol has also been implemented automatically to be compatible with `rmilter` and other software -that uses `rspamc` protocol.
\ No newline at end of file +that uses `rspamc` protocol. |