Skip to content

Commit a8a033e

Browse files
committed
added support to OpenResty
1 parent 165c90c commit a8a033e

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Install
138138

139139
This module disables nginx REWRITE phase for CONNECT request by default, which means `if`, `set`, `rewrite_by_lua` and other REWRITE phase directives cannot be used. To enable these, you should use `proxy_connect_rewrite.patch` instead of `proxy_connect.patch`. (`TODO`: merge two patches into one.)
140140

141-
* Install this module from source:
141+
* Install this module from Nginx source:
142142

143143
```
144144
$ wget http://nginx.org/download/nginx-1.9.2.tar.gz
@@ -149,6 +149,16 @@ $ ./configure --add-module=/path/to/ngx_http_proxy_connect_module
149149
$ make && make install
150150
```
151151

152+
* Install this from OpenResty source:
153+
154+
```
155+
$ wget https://openresty.org/download/openresty-1.13.6.2.tar.gz
156+
$ tar xvf openresty-1.13.6.2.tar.gz
157+
$ cd openresty-1.13.6.2
158+
$ ./configure --add-module=/path/to/ngx_http_proxy_connect_module
159+
$ patch -d build/nginx-1.13.6/ -p 1 < /path/to/ngx_http_proxy_connect_module/patch/proxy_connect.patch
160+
$ make && make install
161+
```
152162

153163
Directive
154164
=========
@@ -277,6 +287,13 @@ The latest module is compatible with the following versions of nginx:
277287
* 1.6.3 (stable version of 1.6.x)
278288
* 1.4.7 (stable version of 1.4.x)
279289

290+
OpenResty Compatibility
291+
=======================
292+
293+
The latest module is compatible with the following versions of OpenResty:
294+
295+
* 1.13.6.2 (nginx version: 1.13.6)
296+
280297
Tengine Compatibility
281298
=====================
282299

0 commit comments

Comments
 (0)