add promtail to nginx vhost

This commit is contained in:
2024-07-30 06:14:55 +05:30
parent 13c03b974b
commit 5ccbde5de4

View File

@ -1,4 +1,4 @@
{...}: {
{lib, ...}: {
services = {
promtail = {
enable = true;
@ -36,5 +36,20 @@
];
};
};
nginx = {
enable = lib.mkForce true;
virtualHosts = {
"promtail.tux.rs" = {
forceSSL = true;
enableACME = true;
locations = {
"/" = {
proxyPass = "http://localhost:3000";
};
};
};
};
};
};
}