I currently have my instance running on my local network. I now have to expose it to the internet and want to use cloudflared for this. Unfortunately it doesn't seem to work.
I am using the default nginx config. Here is my docker-compose.yml https://pastebin.com/6awxsZn8
EDIT: adding network_mode: 'host' to cloudflared fixed it.
3 Comments
rglullis@communick.news · 3 pts · 2y
I might be wrong, but I believe that lemmy-ui default port is 1234, not 1236.
Can you get the the backend to work? If you make a request to
<your domain>/api/v3/site, do you get a response?SomeBoyo@feddit.de · 1 pts · 2y
It say's "Bad gateway" and I get this in my console.
rglullis@communick.news · 1 pts · 2y
It looks like your cloudflared is trying to reach the Lemmy UI directly? What is the URL your tunnel is configured to reach?