1
0
Fork 0
dotfiles/system/nixos/nginx-tanker.nix
2023-09-04 12:45:06 +02:00

37 lines
613 B
Nix

{
services.nginx.virtualHosts."default.kempkens.io" = {
listen = [
{
addr = "0.0.0.0";
port = 443;
ssl = true;
extraParameters = [
"fastopen=63"
"backlog=1023"
"deferred"
];
}
{
addr = "[::0]";
port = 443;
ssl = true;
extraParameters = [
"fastopen=63"
"backlog=1023"
"deferred"
];
}
];
default = true;
quic = false;
onlySSL = true;
useACMEHost = "kempkens.io";
locations."/" = {
return = "418";
};
};
}