nixos-selfhost/tunnel.nix

22 lines
487 B
Nix
Raw Normal View History

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