Host attack in jboss http header

ask heroes, jboss does not have a domain name, use IP to access.

web directory, A common subdirectory
curl-I-H "Host: www.baidu.com"http://127.0.0.1:8080/web/common/"
jumps to page 404
curl-I-H" Host: www.baidu.com "" http://127.0.0.1:8080/web/common"
returns:
HTTP/1.1 302 Moved Temporarily
Location: http : / / www.baidu.com/web/common/
Transfer-Encoding: chunked
Date: Wed, 23 May 2018 13:34:39 GMT
Server: VPS

Please advise how to configure to prevent Location redirection http://www.baidu.com/web/common/ IP address 127.0.0.1 is filled in the Http request header host value www.baidu.com.

Thank you!

Mar.13,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaffaf-48062.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaffaf-48062.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?