# Caddyfile for gitea-stack
# This adds Gitea to the existing Caddy instance on your server
# Copy this snippet to the existing Caddy configuration at /etc/caddy/Caddyfile
# or use 'caddy reload' to add this route to the running Caddy instance

# Gitea Web Interface - Public via terraphim.cloud domain
git.terraphim.cloud {
    reverse_proxy localhost:3000

    # Logging
    log {
        output file /var/log/caddy/gitea-access.log
        format json
    }
}
