remove unnecessary extra domain names and fix webroot for acme cert

This commit is contained in:
Yisroel Baum 2026-04-06 22:54:37 +03:00
parent 8263938f57
commit c3b070b57c
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -127,9 +127,6 @@ in
"/" = {
root = "/var/www/yisroelbaum";
};
"/.well-known/acme-challenge" = {
root = "/var/lib/acme/.challenges";
};
};
};
"jellyfin.${domainName}" = {
@ -159,13 +156,8 @@ in
certs = {
"${domainName}" = {
domain = "*.${domainName}";
webroot = "/var/lib/acme/.challenges";
webroot = "/var/lib/acme/acme-challenge/";
group = config.services.nginx.group;
extraDomainNames = [
"git.${domainName}"
"jellyfin.${domainName}"
"www.${domainName}"
];
reloadServices = [
"nginx"
];