Our Application is running on NGiNX sever and logic decide database according to host.
From last few day one of our customer overriding host, user-agent and other header and NGiNX is unable to get the exact header details and our application goes confuse.
GET /api/http.php” _ 200 24 “-” “-” “-” “_” “-” to: 10.0.0.48:8080: 0.014 request_time 0.153
Normally we get
/index.php HTTP/1.1” vtermination.com 302 5 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36” “-” “_” “-” to: 10.0.0.27:8080: 0.004 request_time 0.347
Is is possbile that NGiNX will not replace header like host and user agent?