initial setup of system and matrix server
This commit is contained in:
17
services/nginx/default.nix
Normal file
17
services/nginx/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{config, ... }:
|
||||
|
||||
{
|
||||
|
||||
security.acme.acceptTerms = true;
|
||||
security.acme.email = "danio@pvv.ntnu.no";
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
}
|
Reference in New Issue
Block a user