mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #8142] [Bug] Caddy integration #3594
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#3594
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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.
@CodingKittens247 commented on GitHub (Jul 29, 2025):
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.