

Zeabur
The default Caddyfile prints a welcome message, with request logging and compression (gzip and zstd) enabled.
You can configure the Caddyfile in the Config Editor and restart the service to apply the changes.
For more examples of Caddyfiles, please refer to the official documentation.
Zeabur's ingress proxy will add the X-Forwarded-For and X-Real-IP headers to the requests. You can trust these headers by adding the following configuration to the Caddyfile.
{
servers {
trusted_proxies static private_ranges
trusted_proxies_strict
client_ip_headers X-Forwarded-For X-Real-IP
}
}
Your website must be a containerized service. You can remove the public domain after binding your service to Caddy.
{
servers {
trusted_proxies static private_ranges
trusted_proxies_strict
client_ip_headers X-Forwarded-For X-Real-IP
}
}
:80 {
basic_auth {
# username password
# `password` must be bcrypt-hashed, use https://bcrypt-generator.com
# to generate the hash
# The default username and password are "zeabur" and "zeabur".
zeabur $2a$12$6XKjSRketHN2qIzPHRLqC.FEpGxt/LJWVH2ZvWXAWF7H433YPQVKq
}
# Use [Networking] > [Private Network] to connect to your service.
# This way, unauthenticated users cannot find any endpoints to
# connect to your original service.
reverse_proxy rsshub.zeabur.internal:1200
# Remember to remove the public domain after binding your service to Caddy.
}
