Infini-OPTIPLEX: enable nginx
This commit is contained in:
parent
ac3951b605
commit
1d6b4c45bf
1 changed files with 15 additions and 0 deletions
|
@ -34,6 +34,10 @@
|
|||
address = "128.210.6.97";
|
||||
interface = "enp0s31f6";
|
||||
};
|
||||
firewall = {
|
||||
allowedUDPPorts = [ 80 443 ];
|
||||
allowedTCPPorts = [ 80 443 ];
|
||||
};
|
||||
};
|
||||
|
||||
persist = {
|
||||
|
@ -60,4 +64,15 @@
|
|||
"/root/.ssh/immutable_files.txt"
|
||||
];
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
statusPage = true;
|
||||
|
||||
recommendedTlsSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue