feat: deploy zopu single-node production
This commit is contained in:
@@ -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.
|
||||
|
||||
25
deploy/zopu-runtime/caddy/Caddyfile.production
Normal file
25
deploy/zopu-runtime/caddy/Caddyfile.production
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user