system/machines/magenta/services/nginx.nix

13 lines
320 B
Nix

{
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
defaultHTTPListenPort = 10080;
defaultSSLListenPort = 10443;
};
networking.firewall.allowedTCPPorts = [ 10080 10443 ];
}