init: public
This commit is contained in:
15
config/hosts/imxyy-nix-server/nginx.nix
Normal file
15
config/hosts/imxyy-nix-server/nginx.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ ... }:
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
clientMaxBodySize = "0";
|
||||
};
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "acme@imxyy.top";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user