5bc81d5b3b
iOS SwiftUI app with Supabase auth/realtime, Node.js backend, Docker/Supabase self-hosted infrastructure, and APNs scheduler. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
511 B
Caddyfile
20 lines
511 B
Caddyfile
# Ersetze xxx mit deinem App-Namen
|
|
# z.B. api.nightly.dk0.dev
|
|
|
|
# Supabase API (PostgREST, Auth, Storage, Realtime)
|
|
api.xxx.dk0.dev {
|
|
reverse_proxy kong:8000 {
|
|
header_up Host {host}
|
|
header_up X-Real-IP {remote_host}
|
|
}
|
|
}
|
|
|
|
# Supabase Studio (Admin-Dashboard)
|
|
# ⚠️ Zugriff absichern! Nur von bekannten IPs erlauben (optional).
|
|
studio.xxx.dk0.dev {
|
|
reverse_proxy studio:3000
|
|
# IP-Whitelist (optional, empfohlen):
|
|
# @blocked not remote_ip 1.2.3.4
|
|
# respond @blocked 403
|
|
}
|