Tomcat:
vim /etc/httpd/conf/httpd.conf
//别忘了service httpd restart
Nginx:
vim /etc/nginx/nginx.conf
//完了之后service nginx restart
Tomcat:
vim /etc/httpd/conf/httpd.conf
//别忘了service httpd restart
Nginx:
vim /etc/nginx/nginx.conf
//完了之后service nginx restart