Added: network to caddy
This commit is contained in:
@@ -11,6 +11,20 @@ cp config.env.tmpl config.env
|
||||
cp Caddyfile.tmpl Caddyfile
|
||||
```
|
||||
|
||||
## Connecting services
|
||||
|
||||
Add the `proxy.network` to the service you would like to proxy. This can be done by either editing the quadlet directly or creating a systemd override like so:
|
||||
|
||||
1. Create a folder next to the container/pod file: `$name.$type.d/` (e.g. `nginx.container.d/`)
|
||||
2. Create a config file (e.g. `proxy.conf`) in this folder with the following contents:
|
||||
```yaml
|
||||
[Container]
|
||||
Network=proxy.network
|
||||
```
|
||||
|
||||
> [!TIP]
|
||||
> The config is also available to copy under `assets/proxy-network.conf`!
|
||||
|
||||
## Firewall settings
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user