2023-10-07 14:50:22 +02:00
|
|
|
{pkgs, lib, config, ...}: {
|
2023-10-07 15:18:18 +02:00
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
2023-10-07 14:50:22 +02:00
|
|
|
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
2023-10-07 15:32:04 +02:00
|
|
|
virtualHosts = {
|
|
|
|
"*" = {
|
|
|
|
root = "/var/www/test";
|
|
|
|
};
|
|
|
|
};
|
2023-10-07 14:50:22 +02:00
|
|
|
};
|
2023-10-07 14:52:10 +02:00
|
|
|
}
|