Home > Backend Development > PHP Tutorial > nginx_tcp module integrated into openresty

nginx_tcp module integrated into openresty

WBOY
Release: 2016-07-29 09:15:48
Original
1264 people have browsed it

openresty itself uses the http protocol for communication,

but projects often require the input to use the tcp protocol and the output to use the http protocol.

At this time, if the input is the tcp protocol, you need to use the nginx_tcp module

How to use The nginx_tcp module is integrated into openresty

The method is as follows:

1. Download nginx_tcp_module, address: https://github.com/bigplum/nginx-tcp-lua-module
2. Unzip the downloaded compressed package to In the bundle directory of openresty

3, install the nginx_tcp_module module


4, gmake and then gmake install

nginx_tcp_module module is installed!

Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.

The above introduces the integration of nginx_tcp module into openresty, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template