diff options
author | stuebinm | 2022-11-11 23:19:06 +0100 |
---|---|---|
committer | stuebinm | 2022-11-11 23:19:06 +0100 |
commit | ff73944329c4152a293550559609ded1f452abfb (patch) | |
tree | acd0b3ad9362992422ada21e5de4b57ab1bdfc51 | |
parent | e598b080e616ab2d388ddd983c0957bb19d6e0a1 (diff) |
remove ilztal.live
(this domain has expired)
-rw-r--r-- | chaski/configuration.nix | 5 | ||||
-rw-r--r-- | chaski/services/woitb.nix | 32 |
2 files changed, 4 insertions, 33 deletions
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; - }; - -} |