Home > OS >  Nginx for help, the suffix jump address bar
Nginx for help, the suffix jump address bar

Time:09-16

This is my nginx configuration file
The location/tomcat {
Proxy_pass http://native IP: 8081;
Proxy_redirect off;
# proxy_redirect off;
# root HTML;
# index index. HTML index. HTM;
}
But I jump when he would become the native IP: 8081/tomcat, I want him to jump into the machine IP address: 8081, how to implement

CodePudding user response:

Proxy_pass http://native IP: 8081;
Change
Native IP proxy_pass http://: 8081/;
  • Related