blob: e0e2988015394eda4ce9fa1a45d2305180f98b46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{ config, lib, pkgs, ... }:
{
systemd.services.bahnhof-name = {
enable = true;
wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "simple";
path = [ pkgs.bahnhof-name ];
script = ''
bahnhofname
'';
};
services.nginx.virtualHosts."bahnhof.name" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://localhost:2345";
};
}
|