k 3 bepasty-server: finish krebs.nginx -> servers.nginx
This commit is contained in:
parent
6c79b9d952
commit
dec5f927d6
|
@ -26,8 +26,7 @@ in {
|
|||
serveNginx= true;
|
||||
|
||||
servers = {
|
||||
internal = {
|
||||
domain = "paste.r";
|
||||
"paste.r" = {
|
||||
nginx = {
|
||||
serverAliases = [ "paste.retiolum" "paste.${config.krebs.build.host.name}" ];
|
||||
};
|
||||
|
@ -35,8 +34,7 @@ in {
|
|||
secretKey = secKey;
|
||||
};
|
||||
|
||||
external = {
|
||||
domain = ext-dom;
|
||||
"${ext-dom}" = {
|
||||
nginx = {
|
||||
enableSSL = true;
|
||||
forceSSL = true;
|
||||
|
@ -47,12 +45,4 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
security.acme.certs."${ext-dom}" = {
|
||||
email = "acme@syntax-fehler.de";
|
||||
webroot = "${acmechall}/${ext-dom}/";
|
||||
group = "nginx";
|
||||
allowKeysForGroup = true;
|
||||
postRun = "systemctl reload nginx.service";
|
||||
extraDomains."${ext-dom}" = null ;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue