0
submitted 11 months ago by Mematrix@alien.top to c/homelab@selfhosted.forum

Hello I'm running into an issue when trying to reverse proxy my vaultwarden and overseerr services. My domain is in cloudflare with two A records that are updated to accommodate ddns: requests.mydomain.com & vaultwarden.mydomain.com.

Using nginx with SSL(Let's Encrypt) turned off will work. Using it turned ON will give the errors in my browser:

  • Firefox: The page isn’t redirecting properly
  • Edge: ERR_TOO_MANY_REDIRECTS

When using wheregoes.com to check the redirects. It indeed is redirect looping, but only when SSL is turned on.

When using asus's ddns for one of my services with SSL turned ON everything will work as expected. So I'm thinking there is something wrong with how my cloudflare is configured. In my cloudflare I have:

  • No redirect rules on
  • SSL/TLS in off mode
  • HSTS off

What would be the risk of not having SSL turned on for a homelab with public facing services?

you are viewing a single comment's thread
view the rest of the comments
[-] Forester@yiffit.net 1 points 11 months ago* (last edited 11 months ago)

If I remember correctly you need to set up an origin certificate between your local server and cloudflare https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/

this post was submitted on 04 Dec 2023
0 points (50.0% liked)

Homelab

371 readers
2 users here now

Rules

founded 1 year ago
MODERATORS