mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 19:12:11 +02:00
remove copilot temp
This commit is contained in:
19
server-modules/meilisearch.nix
Normal file
19
server-modules/meilisearch.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ 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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user