mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-15 00:24:47 +00:00
Merge pull request #115572 from rnhmjoj/privoxy-doc
nixos/privoxy: document repeated settings
This commit is contained in:
commit
99de8e0ccb
@ -165,15 +165,29 @@ in
|
|||||||
};
|
};
|
||||||
default = {};
|
default = {};
|
||||||
example = literalExample ''
|
example = literalExample ''
|
||||||
{ listen-address = "[::]:8118"; # listen on IPv6 only
|
{ # Listen on IPv6 only
|
||||||
forward-socks5 = ".onion localhost:9050 ."; # forward .onion requests to Tor
|
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 = ''
|
description = ''
|
||||||
This option is mapped to the main Privoxy configuration file.
|
This option is mapped to the main Privoxy configuration file.
|
||||||
Check out the Privoxy user manual at
|
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.
|
for available settings and documentation.
|
||||||
|
|
||||||
|
<note><para>
|
||||||
|
Repeated settings can be represented by using a list.
|
||||||
|
</para></note>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user