diff --git a/docs/architecture-overview.md b/docs/architecture-overview.md index f75dde6..2a2cccf 100644 --- a/docs/architecture-overview.md +++ b/docs/architecture-overview.md @@ -1,6 +1,6 @@ diff --git a/docs/homelab-inventory.md b/docs/homelab-inventory.md index 6896f1c..16afd44 100644 --- a/docs/homelab-inventory.md +++ b/docs/homelab-inventory.md @@ -1,6 +1,6 @@ diff --git a/docs/netbird-zero-trust.md b/docs/netbird-zero-trust.md index 7e564ff..1ac486e 100644 --- a/docs/netbird-zero-trust.md +++ b/docs/netbird-zero-trust.md @@ -1,5 +1,5 @@ @@ -56,9 +56,10 @@ The real path a request takes: And this is the actual splitter doing that work — the real config, not a description of the logic: ``` -$ cat Caddyfile +$ cat conf/Caddyfile { - admin off + # Container loopback only (port not published) - `caddy reload` needs it. + admin localhost:2019 auto_https off servers { protocols h1 h2 h2c diff --git a/docs/secrets-and-pki.md b/docs/secrets-and-pki.md index 6f04c36..e01b7ab 100644 --- a/docs/secrets-and-pki.md +++ b/docs/secrets-and-pki.md @@ -1,6 +1,6 @@ diff --git a/docs/sso-and-identity.md b/docs/sso-and-identity.md index b704cda..687db4c 100644 --- a/docs/sso-and-identity.md +++ b/docs/sso-and-identity.md @@ -1,6 +1,6 @@ diff --git a/stacks/platform/caddy-internal/docker-compose.yaml b/stacks/platform/caddy-internal/docker-compose.yaml index cb3bc84..6ae7b30 100644 --- a/stacks/platform/caddy-internal/docker-compose.yaml +++ b/stacks/platform/caddy-internal/docker-compose.yaml @@ -6,11 +6,11 @@ services: ports: - "${HTTPS_PORT}:443" volumes: - - ./Caddyfile:/etc/caddy/Caddyfile + - ./conf:/etc/caddy:ro - /path/to/caddy-internal/caddy_data:/data - /path/to/caddy-internal/caddy_config:/config - /path/to/caddy-internal/logs:/var/log/caddy - - ./certs/pki_int_ca.crt:/etc/caddy/certs/pki_int_ca.crt:ro + - ./certs:/etc/caddy/certs:ro networks: - caddy-net diff --git a/stacks/platform/caddy/docker-compose.yaml b/stacks/platform/caddy/docker-compose.yaml index d5cc860..fcbe3dd 100644 --- a/stacks/platform/caddy/docker-compose.yaml +++ b/stacks/platform/caddy/docker-compose.yaml @@ -6,7 +6,7 @@ services: ports: - "${HTTPS_PORT}:443" volumes: - - ./Caddyfile:/etc/caddy/Caddyfile + - ./conf:/etc/caddy:ro - /path/to/caddy/caddy_data:/data - /path/to/caddy/caddy_config:/config - /etc/caddy/certs:/etc/caddy/certs