sawe state
This commit is contained in:
parent
66a4bef740
commit
67152beb07
2 changed files with 8 additions and 3 deletions
|
@ -27,9 +27,6 @@ in mkIf conf.mail.enable {
|
|||
tls = {
|
||||
enable = true;
|
||||
implicit = true;
|
||||
};
|
||||
proxy = {
|
||||
|
||||
};
|
||||
listener = {
|
||||
smtp = {
|
||||
|
@ -60,6 +57,7 @@ in mkIf conf.mail.enable {
|
|||
domain = "chpu.eu";
|
||||
};
|
||||
certificate.default = {
|
||||
default = true;
|
||||
cert = "%{file:/var/lib/acme/chpu.eu/chain.pem}%";
|
||||
private-key = "%{file:/var/lib/acme/chpu.eu/key.pem}%";
|
||||
};
|
||||
|
|
|
@ -30,6 +30,13 @@ in mkIf conf.nginx.enable {
|
|||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"chpu.eu" = {
|
||||
serverName = "chpu.eu";
|
||||
useACMEHost = "chpu.eu";
|
||||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue