caddy: irc.jakstys.lt
This commit is contained in:
parent
6d24de56c5
commit
cf870d4e43
|
@ -266,17 +266,6 @@
|
||||||
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
|
||||||
|
@ -309,6 +298,15 @@
|
||||||
"www.jakstys.lt".extraConfig = ''
|
"www.jakstys.lt".extraConfig = ''
|
||||||
redir https://jakstys.lt
|
redir https://jakstys.lt
|
||||||
'';
|
'';
|
||||||
|
"irc.jakstys.lt".extraConfig = ''
|
||||||
|
@denied not remote_ip ${myData.subnets.tailscale.cidr}
|
||||||
|
abort @denied
|
||||||
|
|
||||||
|
root * ${pkgs.gamja}
|
||||||
|
file_server browse {
|
||||||
|
precompressed br gzip
|
||||||
|
}
|
||||||
|
'';
|
||||||
"dl.jakstys.lt".extraConfig = ''
|
"dl.jakstys.lt".extraConfig = ''
|
||||||
root * /var/www/dl
|
root * /var/www/dl
|
||||||
file_server browse {
|
file_server browse {
|
||||||
|
@ -524,7 +522,7 @@
|
||||||
listen = [
|
listen = [
|
||||||
"unix+admin://"
|
"unix+admin://"
|
||||||
":${toString myData.ports.soju}"
|
":${toString myData.ports.soju}"
|
||||||
"ws+insecure://0.0.0.0:${toString myData.ports.soju-ws}"
|
"ws+insecure://:${toString myData.ports.soju-ws}"
|
||||||
];
|
];
|
||||||
tlsCertificate = "/run/soju/cert.pem";
|
tlsCertificate = "/run/soju/cert.pem";
|
||||||
tlsCertificateKey = "/run/soju/key.pem";
|
tlsCertificateKey = "/run/soju/key.pem";
|
||||||
|
|
Loading…
Reference in New Issue