So lets say I host something like netdata dash board on port 6000.
Then I nginx reverse proxy it to the subdomain netdata.domain.com
While basic auth is applied at the nginx.conf to allow site wide protection.
My question is, since my connection to netdata.domain.com is http instead of https, my data is not encrypted. So won't logging into to nginx basic auth under this connection basically expose the password for a MITM attack?
But if I add cloudflare between the real ip, that gives a layer of proxy and basically adds a lot of difficulty for that to happen right?
I don't know if my concern is valid.