17 lines
252 B
Caddyfile
17 lines
252 B
Caddyfile
{
|
|
email your-email@example.com
|
|
acme_ca https://acme-v02.api.letsencrypt.org/directory
|
|
}
|
|
|
|
mqtt.yourdomain.com {
|
|
reverse_proxy mosquitto:9001
|
|
|
|
log {
|
|
output file /var/log/caddy/mqtt.log
|
|
level INFO
|
|
}
|
|
}
|
|
|
|
:80 {
|
|
respond /health "OK" 200
|
|
}
|