[tor-commits] [sbws/master] Add valid destinations examples

pastly at torproject.org pastly at torproject.org
Wed Sep 5 19:44:55 UTC 2018


commit 36cf669bb5298fae499945514a676bdb8f2aa7e7
Author: juga0 <juga at riseup.net>
Date:   Wed Aug 29 07:55:16 2018 +0000

    Add valid destinations examples
---
 docs/source/man_sbws.ini.rst | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/docs/source/man_sbws.ini.rst b/docs/source/man_sbws.ini.rst
index c96ec90..b63106b 100644
--- a/docs/source/man_sbws.ini.rst
+++ b/docs/source/man_sbws.ini.rst
@@ -155,6 +155,28 @@ logging
     Format string to use when logging to syslog.
     (Default: %(module)s[%(process)s]: <%(levelname)s> %(message)s)
 
+EXAMPLES
+--------
+
+Example ``destinations`` section::
+
+    [destinations]
+    foo = on
+    bar = on
+    baz = off
+
+    [destinations.foo]
+    # using HTTP
+    url = http://example.org/sbws.bin
+
+    [destinations.bar]
+    # using HTTPS
+    url = https://example.com/data
+
+    [destinations.baz]
+    # this will be ignored
+    url = https://example.net/ask/stan/where/the/file/is.exe
+
 FILES
 -----
 





More information about the tor-commits mailing list