Hi All:
I am developing a module in Nginx-1.6.0, Now My module work as a filter.
static ngx_int_t ngx_http_my_handler(ngx_http_request_t *r)
{
...
return ngx_http_output_filter();
}
I use ngx_http_output_filter() to send the response to client.
Now I want to do some extra thing in my
Yeah i thought that would not be allowed for some reason.
Does anyone know a way you can execute a program via the echo module or
another way with the lua module ?
location ~* \.(jpg|png|jpeg|ico|gif|bmp)$ {
echo $http_host$request_uri;
}
That should echo the url of the image then i just need
For example I have one fastcgi_pass location block and I want to process the
return values of a request to use in a second fastcgi_pass, is this possible
?
location ... {
...
fastcgi_pass server1;
# server1 returns some values
# process these values and call another fastcgi_pass server
if
Hello!
On Fri, Aug 01, 2014 at 08:48:24AM -0400, itpp2012 wrote:
For example I have one fastcgi_pass location block and I want to process the
return values of a request to use in a second fastcgi_pass, is this possible
?
location ... {
...
fastcgi_pass server1;
# server1 returns some
Hi,
I have added pid directive to nginx config.
Pid /home/ubuntu/ngx.pid
Nginx -t -c (conf) also succeeds.
However when I run nginx, and later try to stop it with nginx -s stop, I
get following error:
Open failed (2 No such file or directory,
/home/ubuntu/install/nginx/logs/nginx.pid
Please
The configuration file used to start the server is the same been used to
stop it?
If you start as
nginx -c /some/confi/file.conf
and stop as
nginx -c /some/confi/file.conf -s stop
it should work.
If you are only doing
nginx -s stop
it will use default configuration that point to another pid file
Please submit any talk proposals before midnight PST tonight.
https://nginx.busyconf.com/proposals/new/
If you’d like to share the reminder via twitter, please feel free to retweet
this — https://twitter.com/nginx/status/495242428652089344
sarah
On Jun 30, 2014, at 1:49 PM, Sarah Novotny
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 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 process outside your
But for expensive image compression involved with relatively large
data volumn and CPU computation, it is better to be done in a
dedicated daemon process outside your online nginx server.
Exactly, like I already wrote in
http://forum.nginx.org/read.php?2,252064,252184#msg-252184
Posted at
# HG changeset patch
# User Tatsuhiko Kubo cubicda...@gmail.com
# Date 1406891054 -32400
# Fri Aug 01 20:04:14 2014 +0900
# Node ID 136ec9b0dcc48104d4f27aa2433cc78246153ef7
# Parent 428303916425d3b7eee77e7918df11bd85da2db1
Core: improved ngx_pstrdup() error handling.
diff -r 428303916425 -r
details: http://hg.nginx.org/nginx/rev/dc7c139fca21
branches:
changeset: 5783:dc7c139fca21
user: Sergey Kandaurov pluk...@nginx.com
date: Fri Aug 01 18:36:35 2014 +0400
description:
Status: indentation and style, no functional changes.
diffstat:
Hello!
On Fri, Aug 01, 2014 at 09:20:02AM +0400, Dmitrii Pichulin wrote:
On 31.07.2014 17:49, Maxim Dounin wrote:
+ if (engine == NULL) {
+ ngx_ssl_error(NGX_LOG_EMERG, ssl-log, 0,
+ ENGINE_by_id(\%s\) failed, p);
+ return NGX_ERROR;
+ }
+
+ p[last - p] = ':';
+
+ if
Hello!
On Thu, Jul 31, 2014 at 04:32:16AM +0200, Michael Kliewe wrote:
Hi Maxim,
this is very interesting to have in nginx, and it's a very easy patch. Any
chance this gets into nginx? It helps a lot to migrate users to encrypted
mail connections, allowing some users to still use
Hi,
you can rename it as you wish, as long as the functionality gets into
nginx ;-)
Michael
Am 01.08.2014 um 20:59 schrieb Maxim Dounin:
Hello!
On Thu, Jul 31, 2014 at 04:32:16AM +0200, Michael Kliewe wrote:
Hi Maxim,
this is very interesting to have in nginx, and it's a very easy
details: http://hg.nginx.org/nginx/rev/f87afb46ccd2
branches:
changeset: 5784:f87afb46ccd2
user: Tatsuhiko Kubo cubicda...@gmail.com
date: Fri Aug 01 20:04:14 2014 +0900
description:
Core: improved ngx_pstrdup() error handling.
diffstat:
src/core/ngx_conf_file.c | 3 +++
1 files
Hello!
On Fri, Aug 01, 2014 at 08:12:05PM +0900, Tatsuhiko Kubo wrote:
# HG changeset patch
# User Tatsuhiko Kubo cubicda...@gmail.com
# Date 1406891054 -32400
# Fri Aug 01 20:04:14 2014 +0900
# Node ID 136ec9b0dcc48104d4f27aa2433cc78246153ef7
# Parent
Hi all,
Here is the 3rd round of this short series improving nginx build-system
support for cross-compilation.
This series fixes a couple of issues found in the previous submission.
It still tries to be as less intrusive as possible, and intends to make
easier integration in cross-compilataion
# HG changeset patch
# User Samuel Martin s.marti...@gmail.com
# Date 1406932254 -7200
# Sat Aug 02 00:30:54 2014 +0200
# Node ID a0389d32d970bc5740013805bc50d2f1de52aef6
# Parent 0abfd4903c4b440a18ed2de0d8c68e5b163e94f0
auto/*: set ngx_feature_run_force_result for each feature requiring run
# HG changeset patch
# User Samuel Martin s.marti...@gmail.com
# Date 1406932255 -7200
# Sat Aug 02 00:30:55 2014 +0200
# Node ID 1be88123e98c8b0e78602eeb3a8c3eb3444c15f3
# Parent a0389d32d970bc5740013805bc50d2f1de52aef6
auto/lib/libxslt/conf: allow to override ngx_feature_path and
# HG changeset patch
# User Samuel Martin s.marti...@gmail.com
# Date 1406932254 -7200
# Sat Aug 02 00:30:54 2014 +0200
# Node ID 0abfd4903c4b440a18ed2de0d8c68e5b163e94f0
# Parent e16232205bd4dd2f50173643d133b06b654ed2af
auto/feature: add mechanism allowing to force feature run test result
# HG changeset patch
# User Tatsuhiko Kubo cubicda...@gmail.com
# Date 1406949498 -32400
# Sat Aug 02 12:18:18 2014 +0900
# Node ID 894e6e8803a1e580ac4af17cf10813f1bd20075b
# Parent 21d53d2ef2cd35967df5f788589e5470d650dad3
Core: simplified error handling in ngx_resolver_dup().
diff -r
# HG changeset patch
# User Tatsuhiko Kubo cubicda...@gmail.com
# Date 1406949459 -32400
# Sat Aug 02 12:17:39 2014 +0900
# Node ID 21d53d2ef2cd35967df5f788589e5470d650dad3
# Parent f87afb46ccd26fccc7ed55ca8a7ef89c6256c3f2
Core: simplified error handling in ngx_pstrdup().
diff -r
# HG changeset patch
# User Piotr Sikora pi...@cloudflare.com
# Date 1406950762 25200
# Fri Aug 01 20:39:22 2014 -0700
# Node ID f9c41363826ff73216a6db3ca9062dd2794bfd69
# Parent f87afb46ccd26fccc7ed55ca8a7ef89c6256c3f2
Core: exit on ngx_pnalloc() failure.
Signed-off-by: Piotr Sikora
# HG changeset patch
# User Piotr Sikora pi...@cloudflare.com
# Date 1406950763 25200
# Fri Aug 01 20:39:23 2014 -0700
# Node ID 78c35623c5fa444e8ce7a3af5999477a117f79be
# Parent f87afb46ccd26fccc7ed55ca8a7ef89c6256c3f2
Gzip: avoid unnecessary assignment.
This change makes it consistent
Спасибо за ответ, но. Вопрос отказоустойчивости не стоит. Распределенные FS
то же не подходят, т.к. у файловых серверов могут быть разные
администраторы/владельцы и информация может иметь конфиденциальный характер.
Posted at Nginx Forum:
26 matches
Mail list logo