2024-09-07 21:39:45 +02:00
|
|
|
{ config, values, ... }:
|
|
|
|
{
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
clientMaxBodySize = "100m";
|
|
|
|
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
|
|
recommendedGzipSettings = true;
|
|
|
|
recommendedOptimisation = true;
|
2024-09-12 20:18:05 +02:00
|
|
|
|
|
|
|
virtualHosts."kinealbrigtsen.no".default = true;
|
2024-09-07 21:39:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
}
|