iMordo
iMordo
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
Thank you again then as I got really lost there, consider it closed!
21 replies
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
I guess that is why I got confused because other HTTP only hosts which were configured exactly the same worked flawlessly
21 replies
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
I have disabled Force SSL on uptime kuma and it still has the same issue. But when I also change tunnel to http://127.0.0.1 it works and uptime kuma is behaving good
21 replies
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
With some hosts that can't do HTTPS yes, but I have some that are HTTPS only and with firewall only nginx can go to these hosts and is accesible by my LAN and tunnel
21 replies
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
well, every service is on a different host, only nginx and cloudflared are together now
21 replies
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
yes as it's configured as wildcard in cloudflare which goes to NGINX proxy
21 replies
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
No description
21 replies
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
No description
21 replies
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
By the way thank you very much for trying to help
21 replies
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=https://127.0.0.1
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR Request failed error="unexpected EOF" connIndex=2 dest=https://status.imordo.com/api/status-page/heartbeat/all event=0 ip=198.41.200.43 type=http
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=https://127.0.0.1
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR Request failed error="unexpected EOF" connIndex=0 dest=https://status.imordo.com/api/status-page/heartbeat/all event=0 ip=198.41.192.227 type=http
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR error="unexpected EOF" connIndex=1 event=1 ingressRule=0 originService=https://127.0.0.1
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR Request failed error="unexpected EOF" connIndex=1 dest=https://status.imordo.com/api/status-page/heartbeat/all event=0 ip=198.41.200.23 type=http
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR error="unexpected EOF" connIndex=3 event=1 ingressRule=0 originService=https://127.0.0.1
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR Request failed error="unexpected EOF" connIndex=3 dest=https://status.imordo.com/api/status-page/heartbeat/all event=0 ip=198.41.192.27 type=http
Aug 24 18:08:29 nginx cloudflared[161]: 2024-08-24T18:08:29Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=https://127.0.0.1
Aug 24 18:08:29 nginx cloudflared[161]: 2024-08-24T18:08:29Z ERR Request failed error="unexpected EOF" connIndex=2 dest=https://status.imordo.com/api/status-page/heartbeat/all event=0 ip=198.41.200.43 type=http
Aug 24 18:08:29 nginx cloudflared[161]: 2024-08-24T18:08:29Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=https://127.0.0.1
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=https://127.0.0.1
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR Request failed error="unexpected EOF" connIndex=2 dest=https://status.imordo.com/api/status-page/heartbeat/all event=0 ip=198.41.200.43 type=http
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=https://127.0.0.1
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR Request failed error="unexpected EOF" connIndex=0 dest=https://status.imordo.com/api/status-page/heartbeat/all event=0 ip=198.41.192.227 type=http
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR error="unexpected EOF" connIndex=1 event=1 ingressRule=0 originService=https://127.0.0.1
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR Request failed error="unexpected EOF" connIndex=1 dest=https://status.imordo.com/api/status-page/heartbeat/all event=0 ip=198.41.200.23 type=http
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR error="unexpected EOF" connIndex=3 event=1 ingressRule=0 originService=https://127.0.0.1
Aug 24 18:08:27 nginx cloudflared[161]: 2024-08-24T18:08:27Z ERR Request failed error="unexpected EOF" connIndex=3 dest=https://status.imordo.com/api/status-page/heartbeat/all event=0 ip=198.41.192.27 type=http
Aug 24 18:08:29 nginx cloudflared[161]: 2024-08-24T18:08:29Z ERR error="unexpected EOF" connIndex=2 event=1 ingressRule=0 originService=https://127.0.0.1
Aug 24 18:08:29 nginx cloudflared[161]: 2024-08-24T18:08:29Z ERR Request failed error="unexpected EOF" connIndex=2 dest=https://status.imordo.com/api/status-page/heartbeat/all event=0 ip=198.41.200.43 type=http
Aug 24 18:08:29 nginx cloudflared[161]: 2024-08-24T18:08:29Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=https://127.0.0.1
21 replies
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
That's the classic your origin/end service is requiring https and the tunnel host just proxies the redirect back and then tries http again on the next request
Um, I bet there is a setting in cloudflare that would repair that? I tried disabling "Always use HTTPS" and "Automatic HTTPS Rewrites" but that did not do it
so it's an https issue, probably that your cert isn't wildcard/doesn't contain everything. When you get 502 errors like that from the tunnel the tunnel logs show always show more info about the failure to connect to origin, ex: journalctl -u cloudflared -f --lines=100 if on systemd linux
I will paste log in the next one as it's too long.
You're not running more then one cloudflared connector right? You mentioned you moved the tunnel, make sure you removed/disconnected the old one or it'll randomly pick one to use and could result in behavior like that. In the Cloudflare Zero Trust dashboard under Network -> Tunnels if you click on your tunnel name, it should expand a card from the right, and under "Connectors" there should only be one
nope, I shut down the system with old one
21 replies
CDCloudflare Developers
Created by iMordo on 8/19/2024 in #general-help
Wildcard to nginx proxy in cf tunel doesn't work with HTTPS
Yes, I saw the info that DNS record won't be created and I added it manually. Since writing this post I figured out that it works when I put into originServerName any of nginx configured hosts. But then for example uptime kuma decides to not show data after first F5 and then I get the same 502 error. and then the next refresh it works again. But when I use only NGINX or only a tunnel it works fine - can't wrap my head around it. I have considered moving tunnel to nginx host as you suggested but when I did it HTTP stopped working completely with too many redirects error - probably some miscofiguration on my side but I did not dig deeper yet.
21 replies
CDCloudflare Developers
Created by iMordo on 11/26/2022 in #general-discussions
which change every 30 secs
but i know that i use icloud keychain TOPT for everything i can and i would like to use it there too
6 replies
CDCloudflare Developers
Created by iMordo on 11/26/2022 in #general-discussions
which change every 30 secs
maybe, i don't have any experience in it and i don't know really what these 2 methods are and how to set them up
6 replies
CDCloudflare Developers
Created by iMordo on 11/26/2022 in #general-discussions
which change every 30 secs
like you put an email in the login page and then it asks about TOTP code OR even better would be an email + password and after that TOTP code
6 replies
CDCloudflare Developers
Created by iMordo on 11/26/2022 in #general-discussions
which change every 30 secs
one TOTP token for every user
6 replies