After the nginx map is forwarded, the java gets the. Become a _ problem

example

location abc.efg.com{
  proxy_pass http://122.22.22.22:2222/;
}

after java request gets the address, it becomes avc_efg_com
the gods solve the problem


abc.efg.com domain names are generally placed in

 server {
    listen 80;
    server_name abc.efg.com;

this position.
then

localtion /{
  proxy_pass http://122.22.22.22:2222/;
}
Menu