19 lines
854 B
Markdown
19 lines
854 B
Markdown
|
# Caddy
|
||
|
Webserver and reverse proxy for installed services.
|
||
|
Detects installed services and proxies them based on given configuration.
|
||
|
|
||
|
## Configuration
|
||
|
Other services can use caddy as proxy.
|
||
|
To do so, they need to provide caddy configuration files and give caddy access to their network.
|
||
|
The `./configure.sh` script will find the configuration files/networks and add them to the caddy configuration.
|
||
|
|
||
|
To configure a service to be proxied by caddy:
|
||
|
1. Add `*.caddy` file(s) to your service with caddy configuration
|
||
|
2. Add the `caddy=true` label to your network(s) that should be accessible by caddy
|
||
|
3. Call `./configure.sh` on the server to refresh the caddy configuration
|
||
|
|
||
|
## Installation
|
||
|
1. Clone repository to service directory
|
||
|
2. Configure the service by calling `./configure.sh`
|
||
|
3. Start the service by calling `systemctl --user start caddy-* caddy`
|