update secrets example

This commit is contained in:
Adithya 2024-01-04 21:51:21 +05:30
parent c5821ed8e3
commit f8a3c3d6ce
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -1,9 +1,23 @@
{
wireguard_config = {
peers = {
Proxy = {
name = "Proxy";
endpoint = "<ip:port>";
publicKey = "<peer public key>";
persistentKeepalive = 20;
allowedIPs = [
"x.x.x.x/xx"
"xxxx::/xx"
];
};
};
};
aria2_config = {
rpc_secret = "<rpc secret for aria2>";
};
frp_config = {
ip = "<ip addess of server running frps>";
server_addr = "<ip addess of server running frps>";
token = "<secret token for frps <-> frpc connection>";
};
caddy_config = {
@ -20,4 +34,5 @@
sshPublicKey = "<ssh public key>";
};
};
phone.sshPublicKey = "<ssh public key from phone>";
}