forked from nyanloutre/nixos-config
service wkd PGP
This commit is contained in:
parent
8b5d860942
commit
ac2ee4b50c
@ -11,6 +11,7 @@ let
|
|||||||
musique_port = 52349;
|
musique_port = 52349;
|
||||||
factorio_port = 52351;
|
factorio_port = 52351;
|
||||||
airsonic_port = 4040;
|
airsonic_port = 4040;
|
||||||
|
wkd_port = 52352;
|
||||||
|
|
||||||
jellyfin_backend = ''
|
jellyfin_backend = ''
|
||||||
http-request set-header X-Forwarded-Port %[dst_port]
|
http-request set-header X-Forwarded-Port %[dst_port]
|
||||||
@ -91,6 +92,7 @@ in
|
|||||||
"ci.${domaine}" = { ip = "127.0.0.1"; port = 52350; auth = false; };
|
"ci.${domaine}" = { ip = "127.0.0.1"; port = 52350; auth = false; };
|
||||||
"factorio.${domaine}" = { ip = "127.0.0.1"; port = factorio_port; auth = false; };
|
"factorio.${domaine}" = { ip = "127.0.0.1"; port = factorio_port; auth = false; };
|
||||||
"airsonic.${domaine}" = { ip = "127.0.0.1"; port = airsonic_port; auth = false; };
|
"airsonic.${domaine}" = { ip = "127.0.0.1"; port = airsonic_port; auth = false; };
|
||||||
|
"${domaine}" = { ip = "127.0.0.1"; port = wkd_port; auth = false; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -242,6 +244,15 @@ in
|
|||||||
listen = [ { addr = "127.0.0.1"; port = factorio_port; } ];
|
listen = [ { addr = "127.0.0.1"; port = factorio_port; } ];
|
||||||
locations = { "/" = { root = "/var/www/factorio"; }; };
|
locations = { "/" = { root = "/var/www/factorio"; }; };
|
||||||
};
|
};
|
||||||
|
"wkd" = {
|
||||||
|
listen = [ { addr = "127.0.0.1"; port = wkd_port; } ];
|
||||||
|
locations = { "/.well-known/openpgpkey/" = {
|
||||||
|
alias = "/var/lib/gnupg/wks/nyanlout.re";
|
||||||
|
extraConfig = ''
|
||||||
|
add_header Access-Control-Allow-Origin * always;
|
||||||
|
'';
|
||||||
|
}; };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user