[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 36cf669bb5298fae499945514a676bdb8f2aa7e7
Author: juga0 <juga@xxxxxxxxxx>
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
 -----
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits