Rootless-Docker server (wireguard-go + Caddy sharing netns) and unprivileged-LXC client (kernel WG + systemd watchdog/monitor/MTU-probe) with curl-pipeable bootstrap. Tuned for Telekom DSL/LTE Hybrid uplinks.
24 lines
496 B
Caddyfile
24 lines
496 B
Caddyfile
# Caddy runs inside the wg container's netns, so it can dial 192.168.1.x
|
|
# directly through wg0.
|
|
#
|
|
# Example: publish an internal service at https://service.example.com.
|
|
# Replace the hostnames + upstream IPs with real ones.
|
|
{
|
|
# Uncomment and fill to use ACME for real certs.
|
|
# email you@example.com
|
|
}
|
|
|
|
service.example.com {
|
|
reverse_proxy 192.168.1.10:8080
|
|
log {
|
|
output stdout
|
|
format console
|
|
}
|
|
}
|
|
|
|
# Add more sites as needed:
|
|
# other.example.com {
|
|
# reverse_proxy 192.168.1.20:3000
|
|
# }
|