AWC Instance ipv4 address not working ,but Elastic beanstalk domain for my app works

I have my django app deployed on Elastic beanstalk, health status OK, the EBS domain runs fine, but the IPV4 address and Public IPV4 DNS address of my EC2 instance for my EBS env does load the app in my EBS env, i keep getting Bad Request (400).

i have config. my security group to listen to inbound port 80,443,8000.Instance status checks
Running, System status checks Running


/var/log/nginx/access.log

185.180.143.72 - - [12/Apr/2024:07:28:17 +0000] “GET / HTTP/1.1” 400 154 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36” “-”
197.211.61.139 - - [12/Apr/2024:07:33:47 +0000] “GET /favicon.ico HTTP/1.1” 400 154 “http://3.212.134.191/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36” “-”


/var/log/nginx/error.log

2024/04/12 07:07:24 [warn] 3182#3182: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size