valkyrie: nginx fix

This commit is contained in:
2023-06-07 18:43:40 +02:00
parent 74752cf7d4
commit b2b963fb5b
+8 -8
View File
@@ -119,14 +119,13 @@
system.stateVersion = "23.05"; # Did you read the comment?
services.nginx = {
enable = true;
addSSL = true;
services.nginx = {
enable = true;
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
};
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
};
@@ -135,7 +134,8 @@ services.nginx = {
security.acme.defaults.email = "materus+acme@podkos.pl";
security.acme.certs."materus.pl" = {
domain = "materus.pl";
extraDomainNames = ["*.materus.pl"];
group = "nginx";
extraDomainNames = [ "*.materus.pl" ];
dnsProvider = "ovh";
credentialsFile = "/materus/config/valkyrie/certs.secret";
};