We are attempting to migrate from Influx v1.8 to v2.7. I apologize in advance for my somewhat snarky tone, but it has been extremely painful.
It is vitally important that we run InfluxDB over https. The obvious way to do this should be to use a reverse proxy, but as is well documented, InfluxDB does not play well with a typical nginx reverse proxy setup. We spent most of this week attempting to get that to work and had no luck whatsoever.
We decided to move InfluxDB to its own dedicated Azure VM. This seems rather wasteful, but without a reliable proxy, it was the only way to use the default port 8086 without causing other problems.
We have manually installed a certificate and can now finally access Influx via https on port 8086.
All I want at this point is to “force upgrade” a connection from http to https. i.e. if someone mistakenly uses http://mydomain.com:8086, I would like it to automatically upgrade the connection to https://mydomain.com:8086.
If we had been able to use a reverse proxy, this would be trivial. Since we cannot, I am at the mercy of the InfluxDB2 documentation, which says precisely nothing about this rather obvious use case.
I’d welcome any suggestions as to how to achieve this.
Thanks