Browse code

ruxc: docs for http_tlsmode parameter

Daniel-Constantin Mierla authored on 21/07/2021 14:52:48
Showing 1 changed files
... ...
@@ -75,6 +75,26 @@
75 75
 ...
76 76
 modparam("ruxc", "http_timeout", 2000)
77 77
 ...
78
+</programlisting>
79
+		</example>
80
+	</section>
81
+	<section id="ruxc.p.http_tlsmode">
82
+		<title><varname>http_tlsmode</varname> (int)</title>
83
+		<para>
84
+		The mode to connect over TLS to HTTPS sites: 0 accept all certificates;
85
+		1 - accept trusted certificates.
86
+		</para>
87
+		<para>
88
+		<emphasis>
89
+			Default value is 0 (accept all certificates).
90
+		</emphasis>
91
+		</para>
92
+		<example>
93
+		<title>Set <varname>http_tlsmode</varname> parameter</title>
94
+		<programlisting format="linespecific">
95
+...
96
+modparam("ruxc", "http_tlsmode", 1)
97
+...
78 98
 </programlisting>
79 99
 		</example>
80 100
 	</section>