added availability
This commit is contained in:
23
caddy/Caddyfile
Normal file
23
caddy/Caddyfile
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
# email replaced via env at deploy time
|
||||
email {$ACME_EMAIL:admin@example.com}
|
||||
}
|
||||
|
||||
{$APP_DOMAIN:localhost} {
|
||||
encode zstd gzip
|
||||
|
||||
@stripe path /api/stripe/webhook
|
||||
handle @stripe {
|
||||
# Stripe needs raw body — Next.js handler reads raw bytes.
|
||||
reverse_proxy app:3000
|
||||
}
|
||||
|
||||
handle {
|
||||
reverse_proxy app:3000
|
||||
}
|
||||
|
||||
log {
|
||||
output stderr
|
||||
format console
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user