mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2025-12-22 15:01:57 +00:00
Added managed subnet and set caddy to static ip
This commit is contained in:
@@ -13,7 +13,9 @@
|
||||
autoUpdate.enable = true;
|
||||
# A network for exposing endpoints to the reverse proxy
|
||||
networks = {
|
||||
proxy-net = {};
|
||||
proxy-net = {
|
||||
subnet = "192.168.12.0/24";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
image = "docker.io/library/caddy:latest";
|
||||
autoUpdate = "registry";
|
||||
network = "proxy-net";
|
||||
ip4 = "192.168.12.254";
|
||||
ports = [
|
||||
"8080:80"
|
||||
"8443:443"
|
||||
|
||||
Reference in New Issue
Block a user