mirror of https://github.com/materusPL/Nixerus.git
valkyrie: nginx fix
This commit is contained in:
parent
74752cf7d4
commit
b2b963fb5b
|
@ -119,14 +119,13 @@
|
||||||
system.stateVersion = "23.05"; # Did you read the comment?
|
system.stateVersion = "23.05"; # Did you read the comment?
|
||||||
|
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
addSSL = true;
|
|
||||||
|
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
recommendedOptimisation = true;
|
recommendedOptimisation = true;
|
||||||
recommendedGzipSettings = true;
|
recommendedGzipSettings = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -135,7 +134,8 @@ services.nginx = {
|
||||||
security.acme.defaults.email = "materus+acme@podkos.pl";
|
security.acme.defaults.email = "materus+acme@podkos.pl";
|
||||||
security.acme.certs."materus.pl" = {
|
security.acme.certs."materus.pl" = {
|
||||||
domain = "materus.pl";
|
domain = "materus.pl";
|
||||||
extraDomainNames = ["*.materus.pl"];
|
group = "nginx";
|
||||||
|
extraDomainNames = [ "*.materus.pl" ];
|
||||||
dnsProvider = "ovh";
|
dnsProvider = "ovh";
|
||||||
credentialsFile = "/materus/config/valkyrie/certs.secret";
|
credentialsFile = "/materus/config/valkyrie/certs.secret";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue