stfn :raspberrypi: :python: on Nostr: Continuing my #LXD journey: I realized that in order to reach lxd containers from ...
Continuing my #LXD journey: I realized that in order to reach lxd containers from other computers on the LAN, I can setup a reverse proxy on the lxd host that will forward traffic to the container. For example in Caddy that would be:
http://container.homelab.local {
reverse_proxy 10.54.60.25:80
}
I wonder if that's a good practice or am I doing something very wrong :D
Published at
2024-11-02 08:48:14Event JSON
{
"id": "0559d5d88cade23c5184b0dc4bbd8619d0e6354a293a5c29d21be3ea25f69452",
"pubkey": "b31444cf76f5ae896938b59da85d937b047dff63e403d3a3f79fabfe9b961256",
"created_at": 1730537294,
"kind": 1,
"tags": [
[
"t",
"lxd"
],
[
"proxy",
"https://fosstodon.org/users/stfn/statuses/113412492131477689",
"activitypub"
]
],
"content": "Continuing my #LXD journey: I realized that in order to reach lxd containers from other computers on the LAN, I can setup a reverse proxy on the lxd host that will forward traffic to the container. For example in Caddy that would be:\n\nhttp://container.homelab.local {\nreverse_proxy 10.54.60.25:80\n}\n\nI wonder if that's a good practice or am I doing something very wrong :D",
"sig": "7c97fb57b6a577233f8ee87957a2be5bc5d097226237432096a11d0cd6a85fbd60f71b5a3b607512efd97eb0855a764393b820b5e9b19fcae715ccf692efd901"
}