From ff73944329c4152a293550559609ded1f452abfb Mon Sep 17 00:00:00 2001 From: stuebinm Date: Fri, 11 Nov 2022 23:19:06 +0100 Subject: remove ilztal.live (this domain has expired) --- chaski/configuration.nix | 5 ++++- chaski/services/woitb.nix | 32 -------------------------------- 2 files changed, 4 insertions(+), 33 deletions(-) delete mode 100644 chaski/services/woitb.nix diff --git a/chaski/configuration.nix b/chaski/configuration.nix index 6e14e95..e8095c0 100644 --- a/chaski/configuration.nix +++ b/chaski/configuration.nix @@ -9,13 +9,16 @@ [ # Include the results of the hardware scan. ./hardware-configuration.nix # ./services/uplcg.nix - ./services/woitb.nix ./services/geolocation.nix ./services/tracktrain.nix ]; networking.firewall.allowedTCPPorts = [ 80 443 ]; + services.nginx.package = + (pkgs.nginxStable.override { openssl = pkgs.openssl_1_1; }); + + services.nginx.enable = true; services.nginx.appendHttpConfig = '' access_log off; add_header Permissions-Policy "interest-cohort=()"; diff --git a/chaski/services/woitb.nix b/chaski/services/woitb.nix deleted file mode 100644 index 0c50617..0000000 --- a/chaski/services/woitb.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ config, lib, pkgs, inputs, ... }: - -let - #sources = ../../nix/sources.nix; - sources = /home/stuebinm/Dokumente/utils/playground/ilztal/server; -in -{ - # systemd.services.woitb = { - # enable = true; - # description = "wo ist die ilztalbahn?"; - # wantedBy = [ "multi-user.target" ]; - # serviceConfig.type = "simple"; - # script = "${import sources}/bin/woitb"; - # }; - - services.nginx.enable = true; - services.nginx.virtualHosts."ilztal.live" = { - enableACME = true; - forceSSL = true; - locations."/".root = pkgs.copyPathToStore ./woitb; - - # locations."/upnext".proxyPass = "http://localhost:8000"; - # locations."/geoloc".proxyPass = "http://localhost:8000"; - }; - - services.nginx.virtualHosts."track.ilztal.live" = { - enableACME = true; - forceSSL = true; - locations."/".root = inputs.tracktrain; - }; - -} -- cgit v1.2.3