Initial server config backup

This commit is contained in:
admin
2026-05-04 00:02:08 +08:00
commit 66d24c32b4
2 changed files with 42 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# The Caddyfile is an easy way to configure your Caddy web server.
#
# Unless the file starts with a global options block, the first
# uncommented line is always the address of your site.
#
# To use your own domain name (with automatic HTTPS), first make
# sure your domain's A/AAAA DNS records are properly pointed to
# this machine's public IP, then replace ":80" below with your
# domain name.
b510.duckdns.org {
reverse_proxy 127.0.0.1:8080
}
status-b510.duckdns.org {
reverse_proxy 127.0.0.1:3001
}
memos-b510.duckdns.org {
reverse_proxy 127.0.0.1:5230
}
grafana-b510.duckdns.org {
reverse_proxy 127.0.0.1:3000
}
git-b510.duckdns.org {
reverse_proxy 127.0.0.1:3002
}
# Refer to the Caddy docs for more information:
# https://caddyserver.com/docs/caddyfile
+11
View File
@@ -0,0 +1,11 @@
global:
scrape_interval: 15s
scrape_configs:
- job_name: "node-exporter"
static_configs:
- targets: ["127.0.0.1:9100"]
- job_name: "prometheus"
static_configs:
- targets: ["127.0.0.1:9090"]