fix(amd): opencode

This commit is contained in:
Harald Hoyer 2026-05-03 16:03:57 +02:00
parent 8b205ea9f1
commit 0d5fb73022
2 changed files with 10 additions and 1 deletions

View file

@ -8,4 +8,12 @@
}; };
metacfg.services.acmeBase.credentialsFile = config.sops.secrets.internetbs.path; metacfg.services.acmeBase.credentialsFile = config.sops.secrets.internetbs.path;
security.acme.certs = {
"amd.hoyer.world" = {
extraDomainNames = [
"opencode.amd.hoyer.world"
];
};
};
} }

View file

@ -4,7 +4,8 @@
{ {
services.nginx.virtualHosts = { services.nginx.virtualHosts = {
"opencode.amd.hoyer.world" = { "opencode.amd.hoyer.world" = {
enableACME = true; enableACME = false;
useACMEHost = "amd.hoyer.world";
forceSSL = true; forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:4196"; proxyPass = "http://127.0.0.1:4196";