mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
feat: wireguard test
This commit is contained in:
parent
3ffa8c9db0
commit
93366c81c8
1 changed files with 8 additions and 8 deletions
|
@ -47,14 +47,14 @@ in
|
||||||
"${configHelpers.host}" = {
|
"${configHelpers.host}" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
@allowed_ips {
|
@allowed_ips {
|
||||||
remote_ip ${mars.wireguard.ip0}
|
remote_ip ${mars.wireguard.ip0}
|
||||||
}
|
}
|
||||||
handle @allowed_ips {
|
handle @allowed_ips {
|
||||||
reverse_proxy unix//run/searx/searx.sock
|
reverse_proxy unix//run/searx/searx.sock
|
||||||
}
|
}
|
||||||
handle {
|
handle {
|
||||||
respond "Access Denied" 403
|
respond "Access Denied" 403
|
||||||
}
|
}
|
||||||
tls ${configHelpers.service.ssl.cert} ${configHelpers.service.ssl.key}
|
tls ${configHelpers.service.ssl.cert} ${configHelpers.service.ssl.key}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue