nixos/3proxy: manual validation fix

This commit is contained in:
misuzu 2019-12-20 00:17:49 +02:00
parent 823d6698bb
commit b6f87c688b

View file

@ -23,17 +23,17 @@ in {
Example users file with plain-text passwords:
<para>
<literal>
test1:CL:password1
test2:CL:password2
</para>
</literal>
Example users file with md5-crypted passwords:
<para>
<literal>
test1:CR:$1$tFkisVd2$1GA8JXkRmTXdLDytM/i3a1
test2:CR:$1$rkpibm5J$Aq1.9VtYAn0JrqZ8M.1ME.
</para>
</literal>
You can generate md5-crypted passwords via https://unix4lyfe.org/crypt/
Note that htpasswd tool generates incompatible md5-crypted passwords.
@ -129,7 +129,8 @@ in {
</itemizedlist>
Double authentication is possible, e.g.
<para>
<literal>
{
auth = [ "iponly" "strong" ];
acl = [
@ -143,7 +144,7 @@ in {
}
];
}
</para>
</literal>
In this example strong username authentication is not required to access 192.168.0.0/16.
'';
};