add custom names to each server and move grafana to be accessed thru caddy instead of directly

This commit is contained in:
2024-06-04 14:46:45 -06:00
parent 9dec2ded89
commit 7c859bbcf5
2 changed files with 15 additions and 5 deletions

View File

@@ -1,11 +1,23 @@
{
admin :2019
servers {
servers :80 {
name static_site
metrics
}
servers :80 {
name grafana
metrics
}
}
:80
respond "Data\n"
:80 {
root * /path/to/html
file_server
}
:3000 {
reverse_proxy grafana:3000
}