I can run influxdb with grafana locally But I can't run in aws-ec2 instance - (400 bad request)


logs file:

I stay trying this: https://medium.com/@teebr/iot-with-an-esp32-influxdb-and-grafana-7380d1005229.
I don’t have nginx and/or apache2. (To run grafana behind reverse proxy. I wish I didn’t need this, because the original tutorial doesn’t talk about reverse proxy )
This is my grafana.ini and influxdb.conf:

This is my issues photos :

How can I solve this, pleasestrong text