Want to use lua pages with nginx .
Can you please suggest what are the correct modules ?.
also where can i find the same?.
LUA support with nginx is third-party -- via OpenResty
https://www.nginx.com/resources/wiki/modules/lua/
https://openresty.org/en/
OpenResty is packaged as a standalo
Hi All,
Want to use lua pages with nginx .
Can you please suggest what are the correct modules ?.
also where can i find the same?.
Thanks
vlrk
___
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-le...@nginx.org
I am using nginx upload module for uplaoding files to server. But I wanted
nginx to upload to different paths, not to a path mentioned in upload_store. So
I am taking help of nginx-lua module to change the upload_store value on each
request like below.
location /umtest
authentication puzzle for
those who have seen Cloudflares I am under attack mode! you know what this
will do :) You no longer need the third party services like cloudflare you
can now protect your own Nginx servers with it.
https://github.com/C0nw0nk/Nginx-Lua-Anti-DDoS
I was inspired by Cloudflare
Hi Team,
I would like to know if a way in Nginx to use Lua module to read a value
from a file and set enviornment variable.
Any help will be appreciated
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,283376,283376#msg-283376
___
nginx mail
So my issue is mostly directed towards Yichun Zhang (agentzh) if he is still
active here. I hope so.
My problem is I am trying to increase my Cache HIT ratio by removing
arguments from the URL that are fake / unwanted and order the arguments in a
alphabetical (same order every time) for a higher
You can refer to the open source Openresty.
- 原始邮件 -
发件人:"nembo"
收件人:nginx@nginx.org
主题:Nginx-lua Dynamic location to upstream
日期:2017年03月23日 18点24分
Hi there,
I've Just started to play with Lua (with nginx-plus) and this is what I'd
like to achieve:
I expose a locat
Hi there,
I've Just started to play with Lua (with nginx-plus) and this is what I'd
like to achieve:
I expose a location and a lua script Will inspect http args.Once It takes
the args,It Will call an external api searching for a specific content and
It Will writes the returned json values on some l
Yes, impossible.
In my case, I can use remoteIP/Port, I think its enough to ident.
I need it to prevent extra DB queries which done with first request.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,255157,267174#msg-267174
___
nginx maili
On 26 May 2016 at 14:04, Dimka wrote:
> Face the same problem, empty $ssl_session_id variable.
>
> If ssl_session_ticket off, $ssl_session_id always contain ID.
>
> How can I identify client connection if no ssl session id available?
>
I would also know answer for this. It is kinda either:
1. se
Face the same problem, empty $ssl_session_id variable.
If ssl_session_ticket off, $ssl_session_id always contain ID.
How can I identify client connection if no ssl session id available?
I need "session" IDentificator to pass it to backend, which authorize
requests by this ID.
Posted at Nginx Fo
I would suggest using some log parser. You can find some by searching.
Those "for Apache" ones would also work. If you know some python or shell
script, writing one yourself won't take more than a few minutes.
Analyzing access log on the fly just doesn't make much sense.
On Sun, Jun 7, 2015 at 10:
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
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 embedded in http_user_agent and I am writing
parser to parse at the receiver e
Hello. I'm experiencing problems with combination of nginx lua module
and SPDI. I use "access_by_lua_file" directive to validate requests.
In the script request checksumm is validated, so I need to get body of
the POST requests. "ngx.var.request_body" variable is used fo
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
Thanks!
Then what should I use for TLS connections?
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.
P.S.S. I've used this mail-listing, because it'
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
Hi!
I'm trying to modify one of auth modules for nginx and I need to get content
of either ssl_session_id or any other ssl_* variables with uniq client id to
identify connection. But I've got a problems with accessing to this
variables from lua.
For testing purposes I'm using self-signed ssl cert
Hello!
On Fri, Jun 06, 2014 at 06:13:15AM -0400, itpp2012 wrote:
> See http://trac.nginx.org/nginx/ticket/132
Unlikely it's related.
--
Maxim Dounin
http://nginx.org/
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/n
See http://trac.nginx.org/nginx/ticket/132
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250689,250692#msg-250692
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
nginx >= 1.5.7
nginx-lua-module >= 0.9.8 (possibly older version)
CentOS 6
# ./sbin/nginx -V
nginx version: nginx/1.5.7
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
configure arguments: --add-module=../lua-nginx-module
Config file
user nginx;
worker_processes 1;
error_log /var/log
Thanks a lot for the detailed answer, Yichun! I'll try to benchmark it,
estimate the db size, see if it fits in memory, etc.
Cheers,
Andre
signature.asc
Description: OpenPGP digital signature
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx
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
I'm considering the possibility of implementing a project using Nginx
and the Lua module. One of the requirements of the project is that the
code must use an embedded database such as SQLite. However, as known,
using the lua-sqlite3 library directly is not optimal because it would
block the
Hello!
On Wed, Oct 23, 2013 at 2:46 AM, PieterVI wrote:
> Is there a way to have the lua module launch the requests without waiting
> for the response?
> It should fire the requests and continue directly afterwards and forget
> about the response handling.
> I could try and modify the lua module,
Hi all,
We're currently using the lua capture_multi to send production request to
test systems.
And sometimes we also kind of 'fork' these request to multiple test
systems.
But if one of the test systems is slow to respond the lua code waits till it
gets all responses.
And this is something we ac
27 matches
Mail list logo