2023-01-31 08:51:19 +01:00
|
|
|
{ ... }:
|
|
|
|
|
{
|
|
|
|
|
services.nginx.enable = true;
|
|
|
|
|
security.acme = {
|
|
|
|
|
acceptTerms = true;
|
|
|
|
|
defaults.email = "dev@mc-fucker.cool";
|
|
|
|
|
};
|
2023-08-03 22:53:09 +02:00
|
|
|
services.nginx.virtualHosts."default" = {
|
|
|
|
|
default = true;
|
|
|
|
|
locations."/".return = "301 https://google.com";
|
|
|
|
|
};
|
2023-01-31 08:51:19 +01:00
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
|
}
|
|
|
|
|
# vim: set et ts=2 sw=2 ai:
|