27 lines
230 B
Caddyfile
27 lines
230 B
Caddyfile
{
|
|
admin :2019
|
|
|
|
servers :80 {
|
|
name static_site
|
|
metrics
|
|
}
|
|
|
|
servers :3000 {
|
|
name grafana
|
|
metrics
|
|
}
|
|
}
|
|
|
|
:80 {
|
|
root * /path/to/html
|
|
file_server
|
|
}
|
|
|
|
:3000 {
|
|
reverse_proxy grafana:3000
|
|
}
|
|
|
|
:3100 {
|
|
reverse_proxy loki:3100
|
|
}
|