plausible: add and enable at analytics.bhankas.org

This commit is contained in:
Payas Relekar 2023-06-05 04:05:12 +05:30
parent 931678140b
commit 292e77b265

View file

@ -122,6 +122,19 @@
};
};
plausible = {
enable = true;
disableRegistration = true;
port = 13231;
baseUrl = "https://analytics.bhankas.org";
adminUser = {
activate = true;
name = "root";
passwordFile = "/run/agenix/maildir_relekarpayas_onedrive";
};
server.secretKeybaseFile = "/run/agenix/chatgpt_api_key";
};
# TODO: Split to their respective locations
nginx = {
enable = true;
@ -167,6 +180,12 @@
enableACME = true;
locations."/".proxyPass = "http://127.0.0.1:5232";
};
"analytics.bhankas.org" = {
addSSL = true;
enableACME = true;
locations."/".proxyPass = "http://127.0.0.1:13231";
};
};
};
};
@ -208,6 +227,11 @@
email = "relekarpayas@gmail.com";
dnsResolver = "1.1.1.1:53";
};
"analytics.bhankas.org" = {
email = "relekarpayas@gmail.com";
dnsResolver = "1.1.1.1:53";
};
};
};
}