Oops, sorry, there was a typo in my previous email. It should be
"It is the first OpenResty version based on Nginx core 1.19.9."
Best,
Yichun
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
ichun
--
Yichun Zhang
Founder and CEO of OpenResty Inc.
https://openresty.com/
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hi folks,
I am happy to announce the new formal release, 1.19.3.2, of our
OpenResty web platform based on NGINX and LuaJIT.
It includes the latest security fixes from Nginx and also includes the
latest OpenSSL 1.1.1 version.
We now also provide aarch64 package repositories for all the
mainstream
Hi folks,
Now we provide official OpenResty Aarch64/ARM64 package repos for
Ubuntu 18.04/20.04, Debian 9/10, CentOS/RHEL 7/8, Fedora 32/33.
See https://openresty.org/en/linux-packages.html for more details.
Feedback welcome. Thanks!
Best,
Yichun
--
Yichun Zhang
Founder and CEO of OpenResty
web platform based on our
enhanced version of Nginx core, our enhanced version of LuaJIT, and
many powerful Nginx modules and Lua libraries. See OpenResty's
homepage for details:
https://openresty.org/en/
Enjoy!
Best,
Yichun
--
Yichun Zhang
Founder and CEO of OpenResty Inc.
LuaJIT, and
many powerful Nginx modules and Lua libraries. See OpenResty's
homepage for details:
https://openresty.org/
Have fun!
Best,
Yichun
---
Yichun Zhang is the creator of OpenResty, the founder and CEO of OpenResty Inc.
___
nginx mailing
platform based on our
enhanced version of Nginx core, our enhanced version of LuaJIT, and
many powerful Nginx modules and Lua libraries. See OpenResty's
homepage for details:
https://openresty.org/
Enjoy!
Best,
Yichun
---
Yichun Zhang is the creator of OpenResty, the founder and C
Hi there,
OpenResty 1.15.8.3 is a patch release addressing recent security
vulnerabilities in both the Nginx core and the ngx_http_lua module.
The (portable) source code distribution, the Win32/Win64 binary
distributions, and the pre-built binary Linux packages for Ubuntu,
Debian, Fedora, Ce
Hi folks,
I recently wrote a new blog post titled "How OpenResty and Nginx
Allocate and Manage Memory":
https://blog.openresty.com/en/how-or-alloc-mem/
It is the first of a series of articles on this topic. The purpose of
this series is to help OpenResty and Nginx open source users
effective
Hi folks!
OpenResty 1.15.8.2 is a patch release addressing security
vulnerabilities in the HTTP/2 protocol which may cause excessive
memory consumption and CPU usage (CVE-2019-9511, CVE-2019-9513,
CVE-2019-9516).
All previous NGINX cores supporting HTTP/2 are affected by this
issue (1.9.5 to 1.16
or details:
https://openresty.org/
Have fun!
Best,
Yichun
---
Yichun Zhang is the creator of OpenResty, the founder and CEO of OpenResty Inc.
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hi folks!
I am happy to announce the new formal release, 1.13.6.2, of the
OpenResty web platform based on NGINX and LuaJIT:
https://openresty.org/en/download.html
The (portable) source code distribution, the Win32/Win64 binary
distributions, and the pre-built binary Linux packages for Ubuntu
Hi there,
I am excited to announce the new formal release, 1.13.6.1, of the
OpenResty web platform based on NGINX and LuaJIT:
https://openresty.org/en/download.html
Both the (portable) source code distribution, the Win32 binary
distribution, and the pre-built binary Linux packages for all th
Hello!
On Thu, Nov 9, 2017 at 12:19 PM, Joel Parker wrote:
> I am trying to load a table from disk (deserialize) into memory and then
> add, change, remove the values in the table then write it periodically back
> to disk (serialize). I looked at the documentation for the ngx.shared.DICT
> (https:
Hi folks,
I am excited to announce the new formal release, 1.11.2.5, of the
OpenResty web platform based on NGINX and LuaJIT:
https://openresty.org/en/download.html
Both the (portable) source code distribution, the Win32 binary
distribution, and the pre-built binary Linux packages for all th
Hi folks,
OpenResty 1.11.2.4 is just released to include the latest nginx
security fix in its range filter module (CVE-2017-7529).
You can download this version's source tarball and Win32 binary from
the following page:
https://openresty.org/en/download.html
Pre-built Linux binary packages
Hi folks,
Long time no releases. We've been very busy setting up the OpenResty
Inc. commercial company in the US. That's why we've been quiet in the
last few months. The good news is that we now have a strong full-time
engineering team that can work on both the OpenResty open source
platform and h
Hi folks,
I am excited to announce the new formal release, 1.11.2.2, of the
OpenResty web platform based on NGINX and LuaJIT:
https://openresty.org/en/download.html
Both the (portable) source code distribution and the Win32 binary
distribution are provided on this Download page.
We have man
Hi folks,
I am excited to announce the new formal release, 1.11.2.1, of the
OpenResty web platform based on NGINX and LuaJIT:
https://openresty.org/en/download.html
Both the (portable) source code distribution and the Win32 binary
distribution are provided on this Download page.
Also, we no
Hello!
On Tue, Jul 5, 2016 at 11:57 PM, Christian Rohmann wrote:
> On 07/04/2016 12:31 PM, Sushma wrote:
>> Or is there a way, nginx will be able to dynamically figure out the cert to
>> be presented without it being explicitly mentioned via the directive
>> ssl_certificate?
>
> After some researc
Hi folks,
I am happy to announce the new formal release, 1.9.15.1, of the
OpenResty web platform based on NGINX and LuaJIT:
https://openresty.org/en/download.html
Both the (portable) source code distribution and the Win32 binary
distribution are provided on this Download page.
The highlight
Hi folks
OpenResty 1.9.7.5 is just out to include the latest official NGINX
patch for nginx security advisory (CVE-2016-4450):
https://openresty.org/en/download.html
Both the (portable) source code distribution and the Win32 binary
distribution are provided on this Download page.
Changes si
Hello!
On Fri, Apr 29, 2016 at 6:18 AM, Pasi Kärkkäinen wrote:
>
> One question about the new "ngx.balancer" Lua API .. with quick look I didn't
> notice anything related to upstream healthchecks.. is this something you've
> been looking at improving, or is it out of scope for this module?
>
Ye
Hi folks
We had a good time at our first bay area OpenResty meetup [1] last
month. Now I'd like to share with you the video recordings and slides
for our presentations:
* Presentation "adobe.io" from Adobe's Dragos Dascalita.
* Slides: http://openresty.org/slides/adobe-io-openresty-meetup.pd
Hi folks
I am happy to announce the new formal release, 1.9.7.4, of the
OpenResty web platform based on NGINX and LuaJIT:
https://openresty.org/#Download
Both the (portable) source code distribution and the Win32 binary
distribution are provided on this Download page.
The highlights of this
Hi folks
We're going to have the first Bay Area OpenResty meetup tomorrow
evening, in CloudFlare's office, as originally planned about one month
ago.
When:
5:30pm ~ 6:30pm, 9 March 2016
Where:
101 Townsend St
San Francisco CA
Fee:
Free.
Meetup website:
http://www.meetup
Hello!
On Thu, Feb 11, 2016 at 2:43 AM, Deeptha wrote:
> /root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c
> /root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_module-master/ngx_tcp_session.c:
> In function 'ngx_tcp_send':
> /root/rpmbuild/SOURCES/modules/nginx_tcp_proxy_m
Hi folks,
I've recently created the Bay Area OpenResty Meeup group on meetup.com:
http://www.meetup.com/Bay-Area-OpenResty-Meetup/
You're welcome to join us in this group.
We're currently planning a face-to-face meetup at 5:30pm ~ 6:30pm on 9
March 2016 in CloudFlare's office (101 Townsend
Hello!
On Fri, Jan 29, 2016 at 8:40 PM, Kurt Cancemi wrote:
> I was doing some debugging and though I haven't found a fix. The problem is
> in the ngx_http_echo_client_request_headers_variable() function c->buffer is
> NULL when http v2 is used for some reason (internal to nginx).
>
This is expec
Hello!
On Thu, Jan 28, 2016 at 11:19 PM, A. Schulze wrote:
> I could not support with patches but would do some beta testing.
>
Thanks.
> Just to have ask:
> disabling http2 for a location is not possible, isn't it?
>
Nope.
Regards,
-agentzh
___
ngi
Hi folks
OpenResty 1.9.7.3 is now released with the latest security fixes from
the mainline NGINX core (CVE-2016-0742, CVE-2016-0746, CVE-2016-0747).
https://openresty.org/#Download
Both the (portable) source code distribution and the Win32 binary
distribution are provided on this Download p
Hello!
On Thu, Jan 28, 2016 at 1:45 AM, A. Schulze wrote:
> The echo module (https://github.com/openresty/echo-nginx-module / v0.58)
> produce segfaults while accessing the following location:
>
># echo back the client request
>location /echoback {
> echo_duplicate 1 $echo_client_requ
Hello!
On Wed, Jan 27, 2016 at 9:10 AM, Alexandre wrote:
>
> However I wish to monitor the status of the backend. How can I do ?
>
You may find the lua-resty-upstream-healthcheck library helpful:
https://github.com/openresty/lua-resty-upstream-healthcheck
But it's much easier to install via
Hello!
On Sat, Jan 23, 2016 at 6:42 AM, highclass99 wrote:
> I use perl a lot,
> and I noticed
> http://nginx.org/en/docs/http/ngx_http_perl_module.html
> for several years has been documented as
> "The module is experimental, caveat emptor applies."
> So I have been somewhat avoiding testing its
Hi folks
I am happy to announce the new formal release, 1.9.7.2, of the
OpenResty web platform based on NGINX and Lua:
https://openresty.org/#Download
Both the (portable) source code distribution and the Win32 binary
distribution are provided on this Download page.
This version is an import
Hi folks
I am happy to announce the new formal release, 1.9.7.1, of the
OpenResty web platform based on NGINX and Lua:
https://openresty.org/#Download
Both the (portable) source code distribution and the Win32 binary
distribution are provided there.
Special thanks go to all our contributors
Hello!
On Wed, Nov 18, 2015 at 6:48 AM, Stephane Wirtel wrote:
> With a request, is it possible to redirect to a running worker and if
> this one is not running, just enable it.
>
> I explain, I would like to implement a reverse proxy with Lua and
> OpenResty and Redis.
>
> Redis will store a mapp
Hi guys,
I am glad to announce the new formal release, 1.9.3.2, of the
OpenResty bundle:
https://openresty.org/#Download
The first highlight of this release is the new *_by_lua_block {} directives
added in the ngx_http_lua module.
For example, instead of writing
content_by_lua '
Hi folks!
I am glad to announce the new formal release, 1.9.3.1, of the
OpenResty bundle:
https://openresty.org/#Download
This is the first OpenResty formal release includes an NGINX 1.9.x
core. For OpenResty's release policy, please refer to the following
documentation:
https://openres
Hello!
On Thu, Aug 6, 2015 at 2:51 PM, Nitin Solanki wrote:
> Which should I use fastcgi or uwsgi.
It's generally believed that uwsgi is better.
> I tried uwsgi but not
> succeed. Can you help to sort out my problem. Shall you please send me steps
> to configure python with Nginx.
>
As the main
Hello!
On Wed, Aug 5, 2015 at 10:25 PM, Nitin Solanki wrote:
> I want to execute python scripts into Nginx server. I don't want to
> any frameworks for that. Core python script, I need to use.
> Any help and step to follow . To do that.
>
Because you're using NGINX, I'd assume you're aft
Hi folks!
I am pleased to announce the new formal release, 1.7.10.2, of the
OpenResty bundle:
https://openresty.org/#Download
We include a lot of fixes and new features accumulated in the last few months.
Special thanks go to all our contributors and users for making this happen!
Below is
Hello!
On Sun, Jun 7, 2015 at 10:41 PM, nginxsantos wrote:
> Can anyone please help me with a lua configuration which I can embedded into
> nginx.conf to send the following sepaately in access log.
>
> user_agent_os
> user_agent_browser
> user_agent_version
>
> At present all these fields are embe
Hi folks!
I am pleased to announce the new formal release, 1.7.10.1, of the
OpenResty bundle:
http://openresty.org/#Download
Special thanks go to all our contributors and users for making this happen!
Below is the complete change log for this release, as compared to the
last formal release
Hello!
On Thu, Feb 5, 2015 at 12:47 AM, Batuhan Göksu wrote:
> There are many great new features.
> Why "lua" has not been updated
>
By default, OpenResty uses LuaJIT, which is actively updated upon
almost every new OpenResty release.
The bundled standard Lua interpreter is only used when y
Hi folks!
I am happy to announce the new formal release, 1.7.7.2, of the OpenResty bundle:
http://openresty.org/#Download
The highlights of this release are
1. the SSL/TLS support in the websocket client of lua-resty-websocket.
2. an enhanced version of "resty" command-line utility support
Hello!
On Mon, Jan 12, 2015 at 1:48 PM, Kunal Pariani wrote:
> Is there already a patch for this ?
AFAIK, the Tengine fork has a patch for this.
> I am not completely sure of how to make the nginx resolver (in
> ngx_resolver.c) fallback to libresolv automatically and if this not trivial
> enou
Hello!
On Wed, Jan 7, 2015 at 4:15 PM, Francis Daly wrote:
> (You could probably come up with a way to read /etc/resolv.conf when it
> changes, and update the nginx config and reload it; but that's a "dynamic
> reconfiguration" problem, not an "nginx dynamic reconfiguration" problem.)
>
Yeah, I t
Hi folks!
I am happy to announce the new formal release, 1.7.7.1, of the OpenResty bundle:
http://openresty.org/#Download
In this release, we include many important bug fixes in many
components and some small new features as usual.
One highlight of this release is that the Lua call "ngx.flu
Hello!
On Tue, Dec 2, 2014 at 12:57 PM, chase.holland wrote:
> Thank you for your quick response! Could you be more specific on what is
> blocking the worker process?
Just FYI: you can always find the blocking IO calls via tools like the
off-CPU flame graphs:
https://github.com/openresty/nginx-s
Hello!
On Thu, Nov 27, 2014 at 12:07 AM, VladimirSmirnov wrote:
> P.S. As pointed by resty.session author, I've disabled ssl_session_ticket
> and now I'm receiving ssl_session_id even with TLS enabled. But I'm not sure
> that it's best way to deal with this problem.
>
No, you don't really want th
Hello!
On Wed, Nov 26, 2014 at 11:15 AM, julianfernandes wrote:
> Running Blitz.io on it the server is getting absolutely murdered by the
> NGINX worker processes, which each one using 100% CPU according to top and
> htop.
100% CPU usage problems are usually trivial (and also fun) to solve
with t
Hello!
On Wed, Nov 26, 2014 at 8:29 AM, VladimirSmirnov wrote:
> For testing purposes I'm using self-signed ssl cert.
>
> ngx.log(ngx.DEBUG, "session_id=", ngx.var.ssl_session_id) prints "nil" in
> the logs. How can I get access to this variable?
>
It's very likely that your client sends TLS sess
Hello!
On Fri, Nov 14, 2014 at 11:31 AM, B.R. wrote:
> The limit_rate directive documentation clearly states that it is applied on
> a per-request basis.
> How would one rate-limit a client over N connections?
>
It's easy to do if you use ngx_lua module [1] together with the
$limit_rate builtin
Hello!
On Fri, Nov 14, 2014 at 11:20 AM, Guido Accardo wrote:
> From the doc of proxy_ignore_client_abort:
>
> " ... Determines whether the connection with a proxied server should be
> closed when a client closes the connection without waiting for a response
> ..."
>
> So basically I'm discarding
Hello!
On Wed, Nov 12, 2014 at 12:20 PM, Guido Accardo wrote:
>
> Here, prod response is sent immediately as I want and dev receives the
> traffic but the connection is closed the I got a Broken Pipe (which makes
> sense).
>
For this error, maybe you should configure
proxy_ignore_client_abor
Hello!
On Wed, Nov 12, 2014 at 3:01 PM, josephlim wrote:
> I was wondering what happens when multiple workers access the
> ngx.shared.dict in the http lua module ? Are there conflicts/locking that
> could potentially impact performance of nginx? We are talking about 32
> workers in my use case.
>
Hi folks!
I am happy to announce the new formal release, 1.7.4.1, of the OpenResty bundle:
http://openresty.org/#Download
The highlights of this release are
1) the new "resty" command-line utility,
2) SSL/TLS cosocket support in ngx_lua (with SNI support and
client-side session reu
Hello!
On Fri, Sep 19, 2014 at 12:50 PM, igorhmm wrote:
> I don't known how to reproduce, not yet :-)
>
> I couldn't identify which worker was responding too, but I can see with
> strace warnings in the old wolker about EAGAIN (Resource temporarily
> unavailable). I can see that because old worker
Hello!
On Thu, Sep 18, 2014 at 9:02 AM, jpsonweb wrote:
> I was able to post the parameter from nginx by passing the arguments using
> this.
>local maken_res = ngx.location.capture("/test", { method = ngx.HTTP_POST,
> args = { pagelayout = dev_res_encoded }});
>
You're passing your args via U
Hello!
On Tue, Sep 16, 2014 at 11:24 AM, jpsonweb wrote:
> I am calling an webapplication from nginx. I want to capture the response
> and post the response body as a post parameter to another application.
> I am doing something like this
> local maken_res = ngx.location.capture("/test", { meth
Hello!
On Tue, Aug 12, 2014 at 5:16 AM, ajaybodhe wrote:
> redis2-nginx-module is written with all location configs.
> Does it mean that the module can only be called from browser with some url?
> If I want to introduce new module into reuest processing path & call
> redis2-nginx-module to fetch d
Hello!
On Fri, Aug 1, 2014 at 2:18 PM, Yichun Zhang (agentzh) wrote:
>
> You can try this: https://github.com/juce/lua-resty-shell
>
But for expensive image compression involved with relatively large
data volumn and CPU computation, it is better to be done in a
dedicated daemon proces
Hello!
On Fri, Aug 1, 2014 at 5:03 AM, c0nw0nk wrote:
> Does anyone know a way you can execute a program via the echo module or
> another way with the lua module ?
>
You can try this: https://github.com/juce/lua-resty-shell
Regards,
-agentzh
___
nginx
Hello!
On Thu, Jul 31, 2014 at 10:06 AM, c0nw0nk wrote:
> I also see LUA can do the job but i get the feeling i will hit a dead end if
> i did this.
>
> location /compress-images {
> content_by_lua 'os.execute("C:/server/bin/compress.exe")';
> }
>
Oh no, os.execute() is blocking. You sh
Hello!
On Tue, Jul 29, 2014 at 4:09 PM, Piotr Sikora wrote:
>
> Just to make this clear, the zlib library that Richard is referring to
> is a fork of standard zlib (like ours), not IPP zlib.
>
Okay, I see. Thank you for pointing that out :)
Regards,
-agentzh
Hello!
On Tue, Jul 29, 2014 at 3:47 PM, Richard Stanway wrote:
> Thank you for the patch. This solves the issue with streamed responses,
> however when the "if (r->headers_out.content_length_n > 0)" branch is taken,
> eg with static content, I still receive the 2nd alert type below.
Oh, we should
to write a patch to enable IPP zlib (8.0) support in
NGINX (enabled by ./configure --with-ipp-zlib), just for your
reference:
# HG changeset patch
# User Yichun Zhang
# Date 1406668777 25200
# Tue Jul 29 14:19:37 2014 -0700
# Node ID 2a54efe7a747af2f70cb8af0cff62910d6b84a7f
# Parent c038cc3373
Hi folks!
I am happy to announce the new formal release, 1.7.2.1, of the OpenResty bundle:
http://openresty.org/#Download
Special thanks go to all our contributors for making this happen!
Below is the complete change log for this release, as compared to the
last formal release, 1.7.0.1:
*
Hi
On Tue, Jun 17, 2014 at 3:09 PM, Eric Feldhusen wrote:
> I'm looking for a way to mirror my production site traffic to a development
> environment, so that I have nearly identical traffic going to both to work
> through some optimization issues that are hard to do without the load, which
> is j
Hi folks!
I am happy to announce the new formal release, 1.7.0.1, of the OpenResty bundle:
http://openresty.org/#Download
Special thanks go to all our contributors for making this happen!
Below is the complete change log for this release, as compared to the
last formal release, 1.5.12.1:
Hello!
On Mon, May 19, 2014 at 4:33 AM, Maxim Dounin wrote:
> First of all, I think that people should think before specifying
> error processing, especially complex error processing.
>
Unfortunately we cannot control what the users *think* :) Many users
just try things away according to their in
Hello!
On Sat, May 17, 2014 at 12:25 AM, nginxsantos wrote:
> I think agentzh's "memc-nginx-module" module comes with little more features
> than the default "ngx_http_memcached_module" which Valentin suggested.
I won't agree with the "little more features" statement. The standard
ngx_memcached m
Hello!
On Fri, May 16, 2014 at 6:22 AM, nginxsantos wrote:
> Have anyone used the thirdparty "memc-nginx-module" module for the memcached
> operation. I am interested for a memcached module. So, I am evaluating
> which one to use and their differences and the stability.
>
As the author of the ng
Hello!
On Thu, May 15, 2014 at 5:52 PM, Lord Nynex wrote:
> http://wiki.nginx.org/HttpEchoModule#echo_exec
>
> I use this model in some parts of my configs. I, however, use openresty and
> I'm not clear if there are any functionality differences between them.
>
No difference here. OpenResty bundl
Hello!
On Thu, May 15, 2014 at 11:56 PM, kay wrote:
> Don't you think this is a bug?
>
I think the NGINX core should prevent bad things from happen when
1. the user configures complicated things in his error_page targets, and
2. the error page is initiated by nginx too early in the request
proce
Hello!
On Wed, May 14, 2014 at 11:19 PM, kay wrote:
> http {
> error_page 405 /error.html;
> error_page 400 /error.html;
> error_page 403 /error.html;
>
Okay, I can reproduce your request hang on my side now and I see what
is going on here.
Basically the 405 error is thro
Hello!
On Tue, May 13, 2014 at 11:52 PM, kay wrote:
> This config produces the same nginx hang.
>
> server {
> listen 80;
> location / {
> access_by_lua '
> local res = ngx.location.capture("/memc?cmd=get&key=test")
> return
> ';
> root /etc/
Hello!
On Wed, May 7, 2014 at 8:59 PM, kay wrote:
>> 1. It is not recommended to use the rewrite_by_lua directive directly
>
> You can do the same with access_by_lua
>
Please do not cut my original sentence and just pick the first half.
The full sentence is "it is not recommended to use the rewri
Hello!
On Tue, May 6, 2014 at 11:30 PM, kay wrote:
> Sure, you can use nginx.conf from my previous message and this server
> config:
>
I've noticed 2 obvious mistakes in your config. See blow.
> server {
> listen 80;
>
> rewrite_by_lua '
> local res = ngx.location.capture("/memc?cmd=ge
Hello!
On Tue, May 6, 2014 at 2:58 AM, kay wrote:
> Actually I suppose that this is a bug, as it is not possible to make filter
> by $request_method
>
> Also some external modules like
> https://github.com/openresty/memc-nginx-module have strange behavior when
> client passes TRACE and nginx gets
Hi guys!
I am happy to announce the new 1.5.12.1 release of the OpenResty bundle:
http://openresty.org/#Download
Special thanks go to all our contributors for making this happen!
Our current focus has still been on improving both performance and stability.
And most of our OpenResty sub-pro
Hello!
On Thu, Apr 3, 2014 at 8:14 AM, Carsten Germer wrote:
> yes, it works with suppressing gzip between nginx and source-server with
> "proxy_set_header Accept-Encoding "deflate";"
> Thanks a bunch!
> I was aiming for a solution that preserves the gzip-compression between
> source and cache,
Hello!
I am happy to announce the new 1.5.11.1 release of the OpenResty bundle:
http://openresty.org/#Download
Special thanks go to all our contributors for making this happen!
Below is the complete change log for this release, as compared to the
last formal release, 1.5.8.1:
* upgraded
Hello!
On Wed, Mar 5, 2014 at 2:21 PM, arunh wrote:
> Depending on the parameters a,b,c and d I will get the IP and port of the
> destination server (by communicating with postgres) where the request must
> be redirected to ie the new url is of the form:
> http://IP:port/a/b/c/d.
>
You need eithe
Hello!
On Wed, Mar 5, 2014 at 6:56 AM, greekduke wrote:
> I suppose you are correct. I have tried to recreate the problem without the
> two modules and I haven't succeeded yet.
The ngx_eval module is known to have issues. Can you reproduce the
crash by replacing ngx_eval with ngx_lua?
If you sti
Hello!
On Wed, Mar 5, 2014 at 8:39 AM, arunh wrote:
> location /postgresrewrite
> {
>rewrite ^ "http://$nodeIP:$port/$inputURI";;
> }
>
[...]
>rewrite_by_lua '
>res5=ngx.location.capture(
> "/postgresrewrite", { share_all_vars = true } );
>
Hello!
On Wed, Mar 5, 2014 at 8:39 AM, arunh wrote:
> I had to make a series of postgres calls so I used content_by_lua along by
> sharing the varialbes as I had to query tables from multiple databases.
>
No, you should use rewrite_by_lua exclusively for all the
ngx.location.capture calls here I
Hello!
On Mon, Mar 3, 2014 at 9:07 PM, loki wrote:
> I am seeing my NGINX server randomly hangup. Multiple worker processes
> utilizing 100% CPU.
100% CPU occupancy usually happen on the userland code, so strace is
usually not help by providing info on the syscall level.
It'll be ideal if you ca
Hello!
On Tue, Mar 4, 2014 at 7:15 AM, arunh wrote:
> But when I try to print the value of "$1" variable and also after assigning
> it to the variable "$tenantID" I do get the value.
> I guess in the eval block the postgres_escape is not getting set.
>
The "eval" directive always runs before the
Hello!
On Sun, Mar 2, 2014 at 2:40 PM, badtzhou wrote:
> We are have issue that nginx master process is at 100% CPU and it stop
> responding to any request. The CPU utilization for all the workers are low.
>
If I were you, I would just take a C-land on-CPU flame graph for the
process with high CP
Hello!
On Wed, Feb 26, 2014 at 2:41 AM, snarapureddy wrote:
> We are using nginx for file uploads instead of directing to the backend
> servrs. Used lua openresty module to get the data in chunks in write it to
> local disk. File size could vary from few KB's to 10MB.
>
Ensure you're interleaving
Hello!
On Sun, Feb 23, 2014 at 9:40 AM, vikingboy wrote:
> but still get the error when trying to restart nginx.
>
> 2014/02/23 17:20:59 [emerg] 31056#0: unknown directive "memc_pass" in
> /etc/nginx/sites-enabled/irj972.co.uk:55
>
One common cause is that your nginx startup script invokes a diff
Hello!
On Thu, Feb 13, 2014 at 7:50 AM, Reinis Rozitis wrote:
>> Does it enables to request fileA and be able to get fileA + fileB + file C
>> ?
>> Any code example (even the most basic) ?
>
> https://github.com/agentzh/echo-nginx-module#readme
> http://wiki.nginx.org/HttpEchoModule
>
These two l
Hello!
On Tue, Jan 28, 2014 at 3:51 AM, Shohreh wrote:
>
> Thanks for the tip, it works. Is there a tutorial besides the following page
> about how to write Lua scripts through ngx_lua?
> http://wiki.nginx.org/HttpLuaModule
>
You can find a lot of resources on the openresty.org website:
http
Hello!
On Mon, Jan 27, 2014 at 6:00 AM, Jader H. Silva wrote:
>
> You need to set the content-type to this location. e.g.:
>
> add_header Content-Type text/plain;
>
Alternatively one can set the Content-Type response header directly in
Lua (which is more flexible):
content_by_lua '
n
Hello!
On Fri, Jan 24, 2014 at 6:43 AM, Shohreh wrote:
> Using OpenResty, I compiled and installed a Lua-capable Nginx in /tmp so I
> could experiment with it before replacing the current Nginx that was
> installed through apt-get.
>
> However, since files are located in non-standard locations, Ng
Hello folks!
I am happy to announce that the new mainline version of ngx_openresty,
1.5.8.1, is now released:
http://openresty.org/#Download
This is the first openresty release with the latest nginx 1.5.8 core
bundled. And we have a lot of components updated as usual, which
reflects the ongo
Hello!
On Thu, Jan 9, 2014 at 5:35 AM, Andre Nathan wrote:
> However, as known,
> using the lua-sqlite3 library directly is not optimal because it would
> block the Nginx worker process.
>
Well, I suggest you benchmark the actual performance and measure the
actual blocking effect (We actually hav
Hello!
On Sat, Jan 4, 2014 at 11:59 PM, Jeffrey Walton wrote:
> I've been studying agentzh's encrypted session module from
> https://github.com/agentzh/encrypted-session-nginx-module/tree/master/src.
>
Thank you for checking it out! :)
>
> The problem I am having is: I cannot tell how this is pl
1 - 100 of 140 matches
Mail list logo