Nginx proxy local JBoss access is difficult

Source: Internet
Author: User
: This article mainly introduces the difficulty of nginx proxy local JBoss access. if you are interested in the PHP Tutorial, please refer to it. The first day of work after today, all backend developers are absent.

So I tried to configure JBoss. after modifying the Connecter configuration, I found that the access page was very slow.

Access the local JBoss directly and find that the page is opened very quickly.

In the original Jboss configuration, the HTTP protocol is used by default, and keepalive is enabled by default, while Nginx as the reverse proxy only supports the HTTP protocol. When Nginx interacts with the backend Server, it adopts the HTTP1.0 mode. if each connection is closed, the request is complete, and the backend server uses keepalive, therefore, Nginx will not return to the browser until the keepalive connection at the backend is closed, so the page access is very slow.

The root cause of the problem is found, and the modification is very fast. After jboss is restarted, the problem is solved.

// ------------- Some content can be found in the network -------------//

The above introduces the nginx proxy local JBoss access difficulties, including the content, hope to be helpful to friends interested in PHP tutorials.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.