mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
20 lines
422 B
Nix
20 lines
422 B
Nix
{ config, ... }:
|
|
let domain = "mealie.hadi.diy";
|
|
in {
|
|
services = {
|
|
meilisearch = {
|
|
enable = true;
|
|
listenPort = 7700;
|
|
# masterKeyEnvironmentFile= "";
|
|
};
|
|
nginx.virtualHosts."${domain}" = {
|
|
useACMEHost = "hadi.diy";
|
|
forceSSL = true;
|
|
locations."/" = {
|
|
proxyPass =
|
|
"http://127.0.0.1:${toString config.services.meilisearch.listenPort}";
|
|
};
|
|
};
|
|
};
|
|
}
|