9
submitted 1 year ago by pe1uca@lemmy.one to c/lemmy_support@lemmy.ml

I'm trying to deploy my own instance following install with docker but seems it's not up to date. Or am I missing something?

Not sure if it's relevant, the version of the files to download is 0.17 instead of 0.17.3 as the latest release in the github repo.
Also, I'm guessing I'd need to download the rest of the files listed in the prod folder, not just the two in the documentation
https://github.com/LemmyNet/lemmy/tree/0.17.3/docker/prod

Also, I'm trying to use Caddy, I'm guessing I should replace nginx in the docker-compose.yml, correct?
Or can I use the Caddy service of the host machine instead of a new docker container?

you are viewing a single comment's thread
view the rest of the comments
[-] kosmo@satl.ink 2 points 1 year ago

Your reverse proxy is doing websockets incorrectly, there's some bogosity in the spec for websockets that makes them single hop and the proxy needs to propagate the upgrade request. Search for "nginx reverse proxy websocket", e.g. https://www.nginx.com/blog/websocket-nginx/

[-] Neuromancer@lemmy.ml 3 points 1 year ago

Thanks, that's the missing piece. Ironically I am a software engineer in my day job, but not the right kind of software engineer. It's fun to broaden my horizons though. I copied the proxy settings from the @jax@lemmy.cloudhub.social's nginx.conf with the right edits for the hostname into my reverse proxy config and now everything appears to be working!

[-] jax@lemmy.cloudhub.social 2 points 1 year ago

Glad it's working for you!

this post was submitted on 05 Jun 2023
9 points (100.0% liked)

Lemmy Support

4652 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS