I've been trying to solve a problem for hours...
I installed aapanel on my VPS, and everything is ok... Except when I activate the Cloudflare proxy on the subdomain to which I allocate aapanel
It can't in any way identify my correct IP address on the panel...
It always shows that it's a different IP...
I've already put in the nginx rules for it to identify the correct IP address, but the panel doesn't run on nginx, it's a separate service...
How can I correct that?
Besides this problem, before I had changed my panel port to 65443, it worked perfectly... When I activated the proxy in nginx, it stopped working completely!
There was no redirect error or anything... It just didn't respond...
The strange thing is that I have another VPS with aapanel installed, with the cloudflare proxy active, fail2ban active, waf free active, and everything works perfectly... the port is the same... and it works perfectly in the other VPS.
Since this does not work.