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
b280e69c40
commit
ec2e9e42a3
1 changed files with 4 additions and 4 deletions
|
@ -46,10 +46,10 @@ in
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"${configHelpers.host}" = {
|
"${configHelpers.host}" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
@blocked {
|
@allowed_ips {
|
||||||
not remote_ip 10.100.0.0/24
|
remote_ip 10.100.0.2
|
||||||
}
|
}
|
||||||
respond @blocked 403 "Access allowed only via WireGuard"
|
respond @not_allowed 403
|
||||||
|
|
||||||
redir /.well-known/carddav /remote.php/dav/ 301
|
redir /.well-known/carddav /remote.php/dav/ 301
|
||||||
redir /.well-known/caldav /remote.php/dav/ 301
|
redir /.well-known/caldav /remote.php/dav/ 301
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue