This commit is contained in:
Hadi 2024-06-08 00:01:20 +02:00
parent 6c08c79a16
commit 92b467525d

View File

@ -1,4 +1,4 @@
{pkgs, ...}:{
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [ cloudflared ];
services.cloudflared = {
enable = true;
@ -6,9 +6,7 @@
"55ac0504-4ba0-4ea7-bf38-6d04ca7e45c3" = {
credentialsFile = "/etc/cloudflaredpwd";
default = "http_status:404";
ingress = {
"cloud.anotherhadi.com" = { service = "http://localhost:8080"; };
};
ingress = { };
};
};
};