mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2025-12-30 10:02:04 +00:00
Removed declarative caddyfile building
Caddy doesn't seem to like symlinked config files, and home manager doesnt like producing files (even if they're read only). So, basically, the 2 technologies just dont play nice together.
This commit is contained in:
@@ -44,6 +44,4 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.file."caddy/config/subdomains/blog.caddyfile".source = ./caddy_config/subdomains/blog.caddyfile;
|
||||
}
|
||||
|
||||
@@ -23,6 +23,4 @@
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
home.file."caddy/config/Caddyfile".source = ./caddy_config/Caddyfile;
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
admin off
|
||||
}
|
||||
|
||||
import subdomains/*
|
||||
@@ -1,3 +0,0 @@
|
||||
blog.bulba.space {
|
||||
reverse_proxy ghost:2368
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
freshrss.bulba.space {
|
||||
reverse_proxy freshrss:80
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
bulba.space {
|
||||
reverse_proxy bulbaspace-site:80
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
vikunja.bulba.space {
|
||||
reverse_proxy vikunja:3456
|
||||
}
|
||||
@@ -17,6 +17,4 @@
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
home.file."caddy/config/subdomains/site.caddyfile".source = ./caddy_config/subdomains/site.caddyfile;
|
||||
}
|
||||
|
||||
@@ -78,7 +78,4 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.file."caddy/config/subdomains/vikunja.caddyfile".source = ./caddy_config/subdomains/vikunja.caddyfile;
|
||||
home.file."caddy/config/subdomains/freshrss.caddyfile".source = ./caddy_config/subdomains/freshrss.caddyfile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user