feat: deploy zopu single-node production

This commit is contained in:
sai karthik
2026-07-26 11:39:21 +05:30
parent 2a0487aa6e
commit 39b27a229f
15 changed files with 320 additions and 121 deletions

View File

@@ -17,10 +17,28 @@
# reverse_proxy localhost:3583
# }
#
# --- Public deployment with automatic TLS (only if needed) ---
# --- Public deployment through Cloudflare Tunnel ---
#
# agent.example.invalid {
# reverse_proxy localhost:3583
# Cloudflare terminates TLS and forwards these hosts to Caddy over loopback.
#
# http://zopu.sai-onchain.me {
# bind 127.0.0.1
# reverse_proxy 127.0.0.1:13100
# }
#
# http://zopu-api.sai-onchain.me {
# bind 127.0.0.1
# reverse_proxy 127.0.0.1:3210
# }
#
# http://zopu-site.sai-onchain.me {
# bind 127.0.0.1
# reverse_proxy 127.0.0.1:3211
# }
#
# http://zopu-agent.sai-onchain.me {
# bind 127.0.0.1
# reverse_proxy 127.0.0.1:3583
# }
# Default: do not ship an active Caddyfile. The file is documentation.

View File

@@ -0,0 +1,25 @@
{
admin 127.0.0.1:2019
auto_https off
http_port 8080
}
http://zopu.sai-onchain.me {
bind 127.0.0.1
reverse_proxy 127.0.0.1:13100
}
http://zopu-api.sai-onchain.me {
bind 127.0.0.1
reverse_proxy 127.0.0.1:3210
}
http://zopu-site.sai-onchain.me {
bind 127.0.0.1
reverse_proxy 127.0.0.1:3211
}
http://zopu-agent.sai-onchain.me {
bind 127.0.0.1
reverse_proxy 127.0.0.1:3583
}