3 key = pkgs.runCommand "key" { } "${pkgs.openssl}/bin/openssl rand 32 > $out";
7 meta = with pkgs.lib.maintainers; {
8 maintainers = [ tomfitzhenry ];
18 apps.http.servers.default = {
25 handler = "static_response";
35 systemd.services."spiped@server" = {
36 wantedBy = [ "multi-user.target" ];
37 overrideStrategy = "asDropin";
39 systemd.services."spiped@client" = {
40 wantedBy = [ "multi-user.target" ];
41 overrideStrategy = "asDropin";
47 source = "localhost:8080";
48 target = "localhost:80";
53 source = "localhost:8081";
54 target = "localhost:8080";
66 server.wait_for_unit("caddy")
67 server.wait_for_open_port(80)
68 server.wait_for_open_port(8080)
69 server.wait_for_open_port(8081)
71 server.succeed("curl http://localhost:8081 | grep hello")