3proxy: Difference between revisions
Phanirithvij (talk | contribs) imported from old wiki |
Format an clean up the nix code |
||
| Line 8: | Line 8: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
{ | |||
services._3proxy = { | services._3proxy = { | ||
enable = true; | enable = true; | ||
| Line 13: | Line 14: | ||
{ | { | ||
type = "socks"; | type = "socks"; | ||
auth = [ "strong" ]; | |||
acl = [ | |||
{ | |||
rule = "allow"; | rule = "allow"; | ||
users = [ "test1" ]; | users = [ "test1" ]; | ||
| Line 30: | Line 32: | ||
''; | ''; | ||
}; | }; | ||
} | |||
</syntaxhighlight> | </syntaxhighlight> | ||