2024-03-24 22:37:16 +01:00
|
|
|
{...}:
|
|
|
|
{
|
2024-03-25 00:18:55 +01:00
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
clientMaxBodySize = "10g";
|
2024-04-02 13:53:25 +02:00
|
|
|
# defaultHTTPListenPort = 1234;
|
2024-03-25 00:18:55 +01:00
|
|
|
};
|
|
|
|
services.cloudflared = {
|
2024-04-02 13:53:25 +02:00
|
|
|
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
|
|
|
}
|