[GH-ISSUE #8142] [Bug] Caddy integration #3594

Open
opened 2026-03-23 21:31:38 +00:00 by mirror · 2 comments
Owner

Originally created by @CodingKittens247 on GitHub (Jul 28, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8142

Bug Description

I'm making this a BR because there's no documented way to set this up with Caddy, except some fringe cases where you layer a reverse proxy, which is not acceptable.

I'm running from Affine because it's a holy mess, this looks great, and I only use caddy, since it's super simple, and performant.

How to Reproduce

Not using NGINX layered with Caddy...

Expected Behavior

Using Caddy

Operating System

Linux

AppFlowy Version(s)

Release

Screenshots

No response

Additional Context

No response

Originally created by @CodingKittens247 on GitHub (Jul 28, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8142 ### Bug Description I'm making this a BR because there's no documented way to set this up with Caddy, except some fringe cases where you layer a reverse proxy, which is not acceptable. I'm running from Affine because it's a holy mess, this looks great, and I only use caddy, since it's super simple, and performant. ### How to Reproduce Not using NGINX layered with Caddy... ### Expected Behavior Using Caddy ### Operating System Linux ### AppFlowy Version(s) Release ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@khorshuheng commented on GitHub (Jul 29, 2025):

While we don't currently have a dedicated guide for Caddy, we do have this example for using an external Nginx:
https://github.com/AppFlowy-IO/AppFlowy-Cloud/blob/main/external_proxy_config/nginx/appflowy.site.conf

As long as equivalent configuration is used for Caddy, it should work.

<!-- gh-comment-id:3130397784 --> @khorshuheng commented on GitHub (Jul 29, 2025): While we don't currently have a dedicated guide for Caddy, we do have this example for using an external Nginx: https://github.com/AppFlowy-IO/AppFlowy-Cloud/blob/main/external_proxy_config/nginx/appflowy.site.conf As long as equivalent configuration is used for Caddy, it should work.
Author
Owner

@CodingKittens247 commented on GitHub (Jul 29, 2025):

While we don't currently have a dedicated guide for Caddy, we do have this example for using an external Nginx: https://github.com/AppFlowy-IO/AppFlowy-Cloud/blob/main/external_proxy_config/nginx/appflowy.site.conf

As long as equivalent configuration is used for Caddy, it should work.

Hello, thanks for the reply!

As I've said, I understand it is possible, but it shouldn't be up to the user to have to reverse engineer an nginx proxy, when they have no idea what is necessary, what anything does, how it should be treated.

Either it is NGINX only supported, AS IS, or you can use whatever reverse proxy, including what needs to be accessible from the docker container, to the rp to the outside, or you'll have many people (who try to haphazardly turn it into another reverse proxy), get errors, or expose things they werent supposed to, and you'll get a blast of unrelated BR for something the end user is responsible for, and you'll spend an obscene amount of time filtering through it all.

This is up to the management to figure out, but you can't say 'External Proxy Config' and only have 1.
Name it to NGINX only to avoid confusion, and explicitly say no other reverse proxy is supported.

Not that caddy or any other one are hard, but it is in the assumption, that I can easily do this without any major hurdles, without having to reverse engineer another proxy example, or stacking reverse proxies, leaving possible vulnerabilities open -- To me this screams of a disorganized team, hope it isn't the case.

<!-- gh-comment-id:3132204650 --> @CodingKittens247 commented on GitHub (Jul 29, 2025): > While we don't currently have a dedicated guide for Caddy, we do have this example for using an external Nginx: https://github.com/AppFlowy-IO/AppFlowy-Cloud/blob/main/external_proxy_config/nginx/appflowy.site.conf > > As long as equivalent configuration is used for Caddy, it should work. Hello, thanks for the reply! As I've said, I understand it is possible, but it shouldn't be up to the user to have to reverse engineer an nginx proxy, when they have no idea what is necessary, what anything does, how it should be treated. Either it is NGINX only supported, AS IS, or you can use whatever reverse proxy, including what needs to be accessible from the docker container, to the rp to the outside, or you'll have many people (who try to haphazardly turn it into another reverse proxy), get errors, or expose things they werent supposed to, and you'll get a blast of unrelated BR for something the end user is responsible for, and you'll spend an obscene amount of time filtering through it all. This is up to the management to figure out, but you can't say 'External Proxy Config' and only have 1. Name it to NGINX only to avoid confusion, and explicitly say no other reverse proxy is supported. Not that caddy or any other one are hard, but it is in the assumption, that I can easily do this without any major hurdles, without having to reverse engineer another proxy example, or stacking reverse proxies, leaving possible vulnerabilities open -- To me this screams of a disorganized team, hope it isn't the case.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3594
No description provided.