Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Undo Caddy

Edward Cui5b70df067ce6
diff --git a/Caddyfile b/Caddyfile
index 15891bbf5..16e5b0d12 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -3,19 +3,9 @@
# Enable compression
encode zstd gzip
- # Special handling for import endpoint with custom size limit
- handle /api/import-site-data/* {
- request_body {
- max_size {$MAX_IMPORT_SIZE}
- }
- reverse_proxy backend:3001
- }
+ request_body max_size 10MB
- # All other API endpoints with 10MB limit
handle /api/* {
- request_body {
- max_size 10MB
- }
reverse_proxy backend:3001
}