Browse Source

Add graphs1090.home for graphs passthrough

main
Leonora Tindall 5 months ago
parent
commit
a568a3cc27
  1. 14
      hosts/felonyspork/configuration.nix
  2. 2
      include/home-index.html

14
hosts/felonyspork/configuration.nix

@ -180,6 +180,19 @@
proxyWebsockets = true;
};
};
virtualHosts."graphs1090.home.nora.codes" = {
addSSL = true;
useACMEHost = "home.nora.codes";
locations."/" = {
proxyPass = "http://racketmousse:8542/";
proxyWebsockets = true;
};
locations."/tar1090" = {
extraConfig = ''
return 404;
'';
};
};
virtualHosts."felonyspork.local" = {
locations."/" = {
root = "/var/www/home.nora.codes";
@ -200,6 +213,7 @@
"torrent.home.nora.codes"
"sync.home.nora.codes"
"news.home.nora.codes"
"graphs1090.home.nora.codes"
];
};
networking.firewall.allowedTCPPorts = [ 80 443 ];

2
include/home-index.html

@ -38,6 +38,8 @@
Welcome to FELONYSPORK, Nora's gateway server for her home network. You might be looking for:
<ul>
<li>Our Minecraft server's <a href="https://bluemap.home.nora.codes/">BlueMap</a> instance</li>
<li>Our ADS-B performance metrics from <a
href="https://graphs1090.home.nora.codes/">graphs1090</a></li>
</ul>
</p>

Loading…
Cancel
Save