2024-03-24 22:37:16 +01:00
|
|
|
{...}:
|
|
|
|
{
|
2024-03-25 00:18:55 +01:00
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
clientMaxBodySize = "10g";
|
2024-03-25 00:43:09 +01:00
|
|
|
defaultHTTPListenPort = 1234;
|
2024-03-25 00:18:55 +01:00
|
|
|
};
|
|
|
|
services.cloudflared = {
|
|
|
|
enable = true;
|
|
|
|
tunnels = {
|
|
|
|
"tulpan" = {
|
|
|
|
credentialsFile = "/etc/nixos/.secrets/tulpan-tunnel.json";
|
|
|
|
default = "http_status:404";
|
|
|
|
ingress = {
|
2024-03-25 00:43:09 +01:00
|
|
|
"*.sondell.org" = "http://localhost:1234";
|
2024-03-27 13:08:02 +01:00
|
|
|
"sondell.org" = "http://localhost:1234";
|
2024-03-25 00:18:55 +01:00
|
|
|
};
|
2024-03-24 22:37:16 +01:00
|
|
|
};
|
|
|
|
};
|
2024-03-25 00:18:55 +01:00
|
|
|
};
|
2024-03-24 22:37:16 +01:00
|
|
|
}
|