kaledonya clips: a Discord-friendly clip site on top of Zipline
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
e6f8905377
34 files changed
+2917
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# The site, watch pages and uploads go to intake; everything else (the clips themselves, /dashboard, /api) to Zipline.
|
||||
{$SITE_DOMAIN} {
|
||||
@intake {
|
||||
path / /v/* /_site/*
|
||||
}
|
||||
@upload {
|
||||
method POST
|
||||
path /upload
|
||||
}
|
||||
handle @intake {
|
||||
reverse_proxy intake:8000 {
|
||||
# intake trusts this header for the login rate limit; only Cloudflare may set it
|
||||
header_up -Cf-Connecting-Ip
|
||||
}
|
||||
}
|
||||
handle @upload {
|
||||
reverse_proxy intake:8000 {
|
||||
header_up -Cf-Connecting-Ip
|
||||
}
|
||||
}
|
||||
handle {
|
||||
reverse_proxy zipline:3000
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user