beta.jakstys.lt handle well-known/caldav|carddav

This commit is contained in:
Motiejus Jakštys 2023-12-25 17:42:01 +02:00
parent ad320affd6
commit 57f551dc73

View File

@ -263,6 +263,17 @@
reverse_proxy 127.0.0.1:8123 reverse_proxy 127.0.0.1:8123
tls {$CREDENTIALS_DIRECTORY}/hass.jakstys.lt-cert.pem {$CREDENTIALS_DIRECTORY}/hass.jakstys.lt-key.pem tls {$CREDENTIALS_DIRECTORY}/hass.jakstys.lt-cert.pem {$CREDENTIALS_DIRECTORY}/hass.jakstys.lt-key.pem
''; '';
"beta.jakstys.lt".extraConfig = ''
handle /.well-known/carddav {
redir https://cdav.migadu.com/
}
handle /.well-known/caldav {
redir https://cdav.migadu.com/
}
handle {
respond "okz" 200
}
'';
"grafana.jakstys.lt".extraConfig = '' "grafana.jakstys.lt".extraConfig = ''
@denied not remote_ip ${myData.subnets.tailscale.cidr} @denied not remote_ip ${myData.subnets.tailscale.cidr}
abort @denied abort @denied