I am trying to spin up joplin server in docker, and then caddy in front with lets encrypt.
my .env
APP_BASE_URL=https://joplin.mydomain.com
APP_PORT=22300
docker run
docker run --env-file .env -p 22300:22300 joplin/server:latest
caddy:
joplin.mydomain.com {
reverse_proxy localhost:22300
}
I can login to the web interface fine at https://joplin.mydomain.com/login but when i try to sync to https://joplin.mydomain.com it never syncs, and I see a lot of this on docker side:
2021-05-25 03:51:51: [error] App: 404: GET /api/items/root:/info.json:/content : Path not found: api/items/root:/info.json:/content
2021-05-25 03:51:52: App: GET /api/items/root:/.sync/version.txt:/content
2021-05-25 03:51:52: [error] App: 404: GET /api/items/root:/.sync/version.txt:/content : Path not found: api/items/root:/.sync/version.txt:/content
2021-05-25 03:51:52: App: GET /api/items/root:/info.json:/content
2021-05-25 03:51:52: [error] App: 404: GET /api/items/root:/info.json:/content : Path not found: api/items/root:/info.json:/content
2021-05-25 03:51:52: App: GET /api/items/root:/.sync/version.txt:/content
2021-05-25 03:51:52: [error] App: 404: GET /api/items/root:/.sync/version.txt:/content : Path not found: api/items/root:/.sync/version.txt:/content
2021-05-25 03:51:53: App: GET /api/items/root:/locks/:/children
2021-05-25 03:51:53: [error] App: 404: GET /api/items/root:/locks/:/children : Path not found: api/items/root:/locks/:/children
2021-05-25 03:51:53: App: GET /api/items/root:/locks/:/children
2021-05-25 03:51:53: [error] App: 404: GET /api/items/root:/locks/:/children : Path not found: api/items/root:/locks/:/children
2021-05-25 03:51:57: App: GET /api/items/root:/locks/:/children
2021-05-25 03:51:57: [error] App: 404: GET /api/items/root:/locks/:/children : Path not found: api/items/root:/locks/:/children
2021-05-25 03:51:57: App: GET /api/items/root:/locks/:/children
2021-05-25 03:51:57: [error] App: 404: GET /api/items/root:/locks/:/children : Path not found: api/items/root:/locks/:/children
2021-05-25 03:52:04: App: GET /api/items/root:/locks/:/children
2021-05-25 03:52:04: [error] App: 404: GET /api/items/root:/locks/:/children : Path not found: api/items/root:/locks/:/children
2021-05-25 03:52:04: App: GET /api/items/root:/locks/:/children