chore: move nginx configuration to own file
This commit is contained in:
parent
8412cb21d7
commit
8099b6bf9c
3 changed files with 25 additions and 22 deletions
|
|
@ -43,27 +43,5 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedTlsSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedProxySettings = true;
|
||||
virtualHosts = {
|
||||
"${base-domain}" = {
|
||||
enableACME = true;
|
||||
};
|
||||
"${fqdn}" = {
|
||||
enableACME = true;
|
||||
};
|
||||
"meta.${fqdn}" = {
|
||||
enableACME = true;
|
||||
};
|
||||
"git.${fqdn}" = {
|
||||
enableACME = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.postgresql.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue