#Cloudflare Zero-Trust Access on subdomain with port.
12 messages · Page 1 of 1 (latest)
Access should cover all ports, but it does strip the port out / default to normal port after you go through the flow. Perhaps you just accessed it too soon, maybe try in incognito
You are correct, now it works 
I tested right after deploying the rule xD
Thank you
@deep cape I spoke too soon, it does not work. It redirects to the login page, but on successful login it redirects to the domain without the port...
yea that was in the first sentence of my message lol
I don't know if there's a way around that, although you could just use a specific subdomain for it and origin rules (or a tunnel)
I just don't want to put nginx on top of that, because that page is what I use to manage all my containers, including nginx, if nginx goes down, I would lose access to it... Otherwise I could setup Authelia on top of it, but without nginx no luck...
I will check out the redirects
If you have a website on 8443, you can
1: Make a new subdomain for it (i.e my-app.domain.com)
2: Make an Origin Rule for it,hostname equals my-app.domain.com, Dest. Port overwrite 8443
3. Make an Access Policy for that subdomain
4. Success
It's working 😄