21 lines
329 B
Nix
21 lines
329 B
Nix
{ pkgs, config, ... }:
|
|
{
|
|
imports = [
|
|
./rtmp
|
|
./virtualhosts
|
|
];
|
|
|
|
services.nginx = {
|
|
enable = true;
|
|
recommendedTlsSettings = true;
|
|
recommendedOptimisation = true;
|
|
recommendedGzipSettings = true;
|
|
recommendedProxySettings = true;
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
80
|
|
443
|
|
];
|
|
}
|