Need some help getting Cloudflare Tunnel/Reverse Proxy working

Currently reading
Need some help getting Cloudflare Tunnel/Reverse Proxy working

I have the cloudflare tunnel up and running, but neither of the two sites I have running will come up. I just get a 502 Bad Gateway error.

I have swag reverse proxy and cloudflared tunnel container running on unRAID without issue. I'm just not sure what I'm missing on Synology.

I'm using the built-in Reverse Proxy. I'm assuming I have it set correctly.

Example:
vaultwarden container running on port 5151, reverse proxy set so that https://<url>:443 points to local http://localhost:5151
cloudflare config.yml is set to direct all traffic to the local reverse proxy at https://<local-synology-ip>:443

This scenario works on unRAID. The only time I get the 502 errors on unRAID is when something isn't right with the reverse proxy setup. So that makes me wonder if I'm missing something with Syno's built-in reverse proxy.

Thanks!
 
DS1621+ I believe is the model number.

I ended up getting it working by installing a swag container and letting that do the reverse proxy. It actually has some settings that let it specify Cloudflare as the DNS source for the proxied subdomains. That's probably what I'm missing with the built-in reverse proxy.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

For starters, I would try this... devices: - /dev/dri:/dev/dri If the left path matches your NAS...
Replies
12
Views
5,566
Replies
5
Views
4,389
I have tried that interface, but still find calibre-web much better than Calibres own interface. Also, as...
Replies
6
Views
5,191
Well I have a cover on my Kindle so I only ever see the screensaver is when I have fallen asleep reading...
Replies
14
Views
5,721
  • Question
The LDAP Bind User is the user account used to perform the ldap lookups. Any account will do, preferably...
Replies
1
Views
10,876
  • Solved
Yes just to close the loop on this for everyone else's benefit (for those who may come across this in the...
Replies
12
Views
17,091

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Back
Top