valkyrie: nginx fix

This commit is contained in:
Mateusz Słodkowicz 2023-06-07 18:43:40 +02:00
parent 74752cf7d4
commit b2b963fb5b
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 8 additions and 8 deletions

View File

@ -119,14 +119,13 @@
system.stateVersion = "23.05"; # Did you read the comment?
services.nginx = {
services.nginx = {
enable = true;
addSSL = 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";
};