
Whats the appwrite container logs say?

And I guess traefik too

Ok, when I launched the URL, none of these containers log any new entry: appwrite
, appwrite-traefik
, caddy

This is from the browser

What are the response headers?

here you go


Aren't you missing the scheme and host headers for the reverse proxy directive?
https://caddyserver.com/docs/caddyfile/directives/reverse_proxy#https

hmm... actually my caddyfile works for my other apps

I just can't get it to work with appwrite. I may be doing something wrongfully

Try adding what I linked

ok. I will try that

appwrite.saidhasyim.com {
reverse_proxy appwrite-traefik:443 {
header_up Host 443
}
}

Still same result 404 page not found

i will keep trying

The thing I linked included the scheme (https://)

oh, sorry

let me fix now

ok updated. but same outcome

reverse_proxy appwrite-traefik:443 {
header_up Host 443
}
}

No, as part of the reverse proxy directive. Please look at the link I shared again

You'll probably also need to disable tls verification:
reverse_proxy https://appwrite-traefik:443 {
header_up Host {upstream_hostport}
transport http {
tls_insecure_skip_verify
}
}

Thanks Steven. I will try these all

Hi Steven, the earlier version works now. Perhaps it took a while to be effected. Thanks so much for bringing up the header_up configuration.

[SOLVED] Caddy with Appwrite
Recommended threads
- OAuth fails with Invalid Response or inv...
Im currently trying to use the Discord Oauth but i cant find a way to make it work. I followed the docs and set up the discord oauth application and enabled it...
- cli 5.0.5 command for pull and push of d...
Hi i am using selfhosted appwrite 1.5.10, for migration (duplicate project) purpose i am using cli 5.0.5, but i am unable to find commands for pull and push, wh...
- 404 for self-host
docker-compose.yml: x-logging: &x-logging logging: driver: 'json-file' options: max-file: '5' max-size: '10m' services: traefik: ima...
