add custom names to each server and move grafana to be accessed thru caddy instead of directly
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user