summaryrefslogtreecommitdiff
path: root/hosts/chaski/services
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/chaski/services')
-rw-r--r--hosts/chaski/services/woitb.nix28
1 files changed, 17 insertions, 11 deletions
diff --git a/hosts/chaski/services/woitb.nix b/hosts/chaski/services/woitb.nix
index 303ec0f..a2d64a0 100644
--- a/hosts/chaski/services/woitb.nix
+++ b/hosts/chaski/services/woitb.nix
@@ -5,22 +5,28 @@ let
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";
- };
+ # 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
- /home/stuebinm/Dokumente/utils/playground/ilztal/site;
+ locations."/".root = pkgs.copyPathToStore ./woitb;
+
+ # locations."/upnext".proxyPass = "http://localhost:8000";
+ # locations."/geoloc".proxyPass = "http://localhost:8000";
+ };
- locations."/upnext".proxyPass = "http://localhost:8000";
- locations."/geoloc".proxyPass = "http://localhost:8000";
+ services.nginx.virtualHosts."track.ilztal.live" = {
+ enableACME = true;
+ forceSSL = true;
+ locations."/".root = pkgs.copyPathToStore /home/stuebinm/Dokumente/utils/tracktrain;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];