2024-08-26 13:07:59 -04:00
|
|
|
let
|
|
|
|
secrets = import ../modules/secrets.nix;
|
|
|
|
in {
|
|
|
|
services = {
|
|
|
|
tandoor-recipes = {
|
|
|
|
enable = true;
|
|
|
|
port = 5030;
|
|
|
|
};
|
|
|
|
nginx.virtualHosts."recipes.${secrets.jimDomain}" = {
|
|
|
|
enableACME = true;
|
|
|
|
forceSSL = true;
|
|
|
|
locations."/" = {
|
|
|
|
proxyPass = "http://127.0.0.1:5030";
|
|
|
|
proxyWebsockets = true;
|
|
|
|
};
|
|
|
|
};
|
2024-08-24 22:16:51 -04:00
|
|
|
};
|
|
|
|
}
|