Update
This commit is contained in:
parent
6c08c79a16
commit
92b467525d
@ -1,4 +1,4 @@
|
|||||||
{pkgs, ...}:{
|
{ pkgs, ... }: {
|
||||||
environment.systemPackages = with pkgs; [ cloudflared ];
|
environment.systemPackages = with pkgs; [ cloudflared ];
|
||||||
services.cloudflared = {
|
services.cloudflared = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -6,9 +6,7 @@
|
|||||||
"55ac0504-4ba0-4ea7-bf38-6d04ca7e45c3" = {
|
"55ac0504-4ba0-4ea7-bf38-6d04ca7e45c3" = {
|
||||||
credentialsFile = "/etc/cloudflaredpwd";
|
credentialsFile = "/etc/cloudflaredpwd";
|
||||||
default = "http_status:404";
|
default = "http_status:404";
|
||||||
ingress = {
|
ingress = { };
|
||||||
"cloud.anotherhadi.com" = { service = "http://localhost:8080"; };
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user