2022-10-15 08:39:47 +03:00
|
|
|
{
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
recommendedGzipSettings = true;
|
|
|
|
recommendedOptimisation = true;
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
recommendedTlsSettings = true;
|
2023-03-04 23:22:03 +03:00
|
|
|
defaultHTTPListenPort = 10080;
|
|
|
|
defaultSSLListenPort = 10443;
|
2022-10-15 08:39:47 +03:00
|
|
|
};
|
|
|
|
|
2023-03-04 23:22:03 +03:00
|
|
|
networking.firewall.allowedTCPPorts = [ 10080 10443 ];
|
2022-10-15 08:39:47 +03:00
|
|
|
}
|