cleanup consts

This commit is contained in:
Motiejus Jakštys 2024-08-03 06:16:00 +03:00
parent 6e644fbb58
commit 44fb4a6cd1
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ rec {
soju-ws = 6698; soju-ws = 6698;
matrix-synapse = 8008; matrix-synapse = 8008;
vaultwarden = 8222; vaultwarden = 8222;
kodi = 8080; headscale = 8080;
hass = 8123; hass = 8123;
prometheus = 9001; prometheus = 9001;
tailscale = 41641; tailscale = 41641;

View File

@ -231,12 +231,12 @@
{ {
"www.11sync.net".extraConfig = "redir https://jakstys.lt/2024/11sync-shutdown/"; "www.11sync.net".extraConfig = "redir https://jakstys.lt/2024/11sync-shutdown/";
"11sync.net".extraConfig = "redir https://jakstys.lt/2024/11sync-shutdown/"; "11sync.net".extraConfig = "redir https://jakstys.lt/2024/11sync-shutdown/";
"vpn.jakstys.lt".extraConfig = ''reverse_proxy ${fwminex-vno1}:8080''; "vpn.jakstys.lt".extraConfig = ''reverse_proxy ${fwminex-vno1}:${toString myData.ports.headscale}'';
"git.jakstys.lt".extraConfig = ''reverse_proxy http://${fwminex-vno1}''; "git.jakstys.lt".extraConfig = ''reverse_proxy http://${fwminex-vno1}'';
"hass.jakstys.lt:80".extraConfig = '' "hass.jakstys.lt:80".extraConfig = ''
@denied not remote_ip ${myData.subnets.tailscale.cidr} @denied not remote_ip ${myData.subnets.tailscale.cidr}
abort @denied abort @denied
reverse_proxy 127.0.0.1:8123 reverse_proxy 127.0.0.1:${toString mydata.ports.hass}
''; '';
"grafana.jakstys.lt:80".extraConfig = '' "grafana.jakstys.lt:80".extraConfig = ''
@denied not remote_ip ${myData.subnets.tailscale.cidr} @denied not remote_ip ${myData.subnets.tailscale.cidr}