mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
Update
This commit is contained in:
11
hosts/server/nginx.nix
Normal file
11
hosts/server/nginx.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
};
|
||||
|
||||
networking.firewall = { allowedTCPPorts = [ 80 443 ]; };
|
||||
}
|
||||
Reference in New Issue
Block a user