Hello everyone! I'm very new to traefik and I am still wrapping my head around what is going on here. I can't seem to get this configuration quite correct.
I have been following a guide from here to get this set up, but this only accepts one entry point However, I want ones for internal (80,443) and a separate one for external (81,444). Every time I adjust the settings I seem to get more and more lost.
OK so there is a change now.... If I use port 444 internally, I get the website... if I turn off the internal network and use the external network (phone hotspot) I get the error "no available server"
I'm getting more and more lost, with each configuration change (very little and subtle) I keep getting dissimilar errors. Now I'm getting "Too many Redirect" error messages when I access the network from outside the LAN.
I can see pages on ports 80, 81,443 and 444 internally. I have ports 81 and 444 mapped to 80 and 443 in my router to go to the Traefik server. The port mapping seems fine as I see output from the proxy.
I've also tried to add the redirect from HTTP to HTTPS and that seems to have broken the dashboard now as I can only access that on 8080 now if I turn insecure on.
Perhaps I'm going down the wrong path altogether... So I will post my (Redacted) configuration and see if someone can show me a better way of doing what I'm doing.. I've got MANY more hosts I need to add as well
This is running on a Proxmox server under an LXC container, so I don't have the Docker environment variables like a lot of the other support requests. That is only adding to my confusion because I don't know how to translate everything very well.
Unifi Router has a NAT rule saying external incoming 80->81 Traefik server and 443->444 Traefik server.
Currently, the dashboard is running insecure as I can't seem to get it to work on port 443 internally.
Any help would be very grateful as my whole network is down right now and I can't access anything outside of my network without getting the error "no server available".
Simply put... I have a Proxmox server with multiple VMs all serving HTTP.
I have two ports 80 and 443 that I want internal and 81 and 444 to serve hosts from the WAN. (see here: https://www.youtube.com/watch?v=IBlZgrwc1T8) and are my entrypoints
Insecure true because I wanted it on HTTPS and didn't want to use it with the ports. Just because
Internally the sites work fine on all entrypoints (80,81,443,444). Externally (from the internet) I get the error "no server available" from enterypoints 81 and 444 (even tho they are fine when used internally.
oh for the moment I don't care so much about the dashboard.. it broke when I chose secure and asked the http(80) port to redirect to https(443) and I couldn't work out how to get the dashboard to work using ssh.
I'm more concerned about not getting the pages externally more than anything.
If you think you get that error through Traefik, you should check Traefik debug log (doc) and Traefik access log in JSON format (doc) to see what they tell you, especially around the time when the request is taking place.
Also share your docker-compose.yml from the target service.
I've just got back from being out of the country and got all the logs ready to show you annnndddd... it looks like Cloudfare is the issue. I have Proxy turned on and it was causing it to fail. I have no idea what in my Cloudfare config is wrong but I can access things from external now with no real issues.
I've posted a question a long time ago as Cloudflare Proxy wasn't working with Synology Proxy either. Not sure where or how to fix it. Their support seems pretty useless as they point me to the forum and people three won't respond.