2024-10-22 21:08:23 -04:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
{
|
2024-11-04 22:41:38 -05:00
|
|
|
imports = [
|
|
|
|
./rtmp
|
|
|
|
./virtualhosts
|
|
|
|
];
|
|
|
|
|
2024-10-22 21:08:23 -04:00
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
|
|
recommendedOptimisation = true;
|
|
|
|
recommendedGzipSettings = true;
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
2024-11-04 22:41:38 -05:00
|
|
|
80
|
|
|
|
443
|
2024-10-22 21:08:23 -04:00
|
|
|
];
|
|
|
|
}
|