Revert "grafana.jakstys.lt: use http"

This reverts commit f98db66b64.

Android Firefox says "this website is redirecting incorrectly"
This commit is contained in:
Motiejus Jakštys 2023-09-30 06:01:09 +03:00
parent ea49d06b24
commit f298984998

View File

@ -246,17 +246,11 @@
metrics metrics
} }
''; '';
virtualHosts."grafana.jakstys.lt:443".extraConfig = '' virtualHosts."grafana.jakstys.lt".extraConfig = ''
@denied not remote_ip ${myData.subnets.tailscale.cidr}
abort @denied
redir http://grafana.jakstys.lt{uri}
tls {$CREDENTIALS_DIRECTORY}/grafana.jakstys.lt-cert.pem {$CREDENTIALS_DIRECTORY}/grafana.jakstys.lt-key.pem
'';
virtualHosts."grafana.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:3000 reverse_proxy 127.0.0.1:3000
tls {$CREDENTIALS_DIRECTORY}/grafana.jakstys.lt-cert.pem {$CREDENTIALS_DIRECTORY}/grafana.jakstys.lt-key.pem
''; '';
virtualHosts."bitwarden.jakstys.lt".extraConfig = '' virtualHosts."bitwarden.jakstys.lt".extraConfig = ''
@denied not remote_ip ${myData.subnets.tailscale.cidr} @denied not remote_ip ${myData.subnets.tailscale.cidr}