3
0
Fork 0
forked from mirrors/nixpkgs

nixos/privoxy: document repeated settings

This commit is contained in:
rnhmjoj 2021-03-09 16:59:35 +01:00
parent f3c77e5e61
commit df6d7f3142
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -165,15 +165,29 @@ in
};
default = {};
example = literalExample ''
{ listen-address = "[::]:8118"; # listen on IPv6 only
forward-socks5 = ".onion localhost:9050 ."; # forward .onion requests to Tor
{ # Listen on IPv6 only
listen-address = "[::]:8118";
# Forward .onion requests to Tor
forward-socks5 = ".onion localhost:9050 .";
# Log redirects and filters
debug = [ 128 64 ];
# This is equivalent to writing these lines
# in the Privoxy configuration file:
# debug 128
# debug 64
}
'';
description = ''
This option is mapped to the main Privoxy configuration file.
Check out the Privoxy user manual at
<link xlink:href="file://${pkgs.privoxy}/share/doc/privoxy/user-manual/config.html"/>
<link xlink:href="https://www.privoxy.org/user-manual/config.html"/>
for available settings and documentation.
<note><para>
Repeated settings can be represented by using a list.
</para></note>
'';
};