Quantcast
Channel: Nginx Forum
Browsing all 53287 articles
Browse latest View live
↧

Accessing request body in log phase

Hi,What is the correct way to get request body in a log phase handler module ?The usual method of ngx_http_read_client_request_body via a handler doesn'twork,the r->request_body->bufs is always...

View Article


Re: Accessing request body in log phase

Hello!On Fri, Jun 28, 2013 at 01:25:20PM +0530, Pranay Kanwar wrote:> Hi,>> What is the correct way to get request body in a log phase handler module ?>> The usual method of...

View Article


Php-Fpm Benchmarking

Hi, I have both an architecture with: Apache+Fpm and Nginx+Fpm. I must testthem with an access log replay strategy.Here is the format of the log:00:00:00 vhost1.com...

View Article

Nginx X-Accel-Redirect stripping Content-Encoding header

I have Nginx setup to allow requests to be served with the X-Accel-Redirect header. This works fine for images, but I'm trying to get it to work for Javascript files that are already gzip'ed on the...

View Article

[nginx] Fixed ngx_http_parse_chunked() minimal length calculation.

details: http://hg.nginx.org/nginx/rev/b66ec10e901abranches:changeset: 5256:b66ec10e901auser: Maxim Dounin <mdounin@mdounin.ru>date: Fri Jun 28 13:55:05 2013 +0400description:Fixed...

View Article


Re: [PATCH] ngx_http_parse_chunked might request wrong number of bytes

Hello!On Thu, Jun 27, 2013 at 11:20:56PM +0400, Dmitry Popov wrote:> Consider a case when we've just read chunk size (but nothing else):> case sw_chunk_size:> ctx->length = 2 /* LF LF...

View Article

Re: Nginx X-Accel-Redirect stripping Content-Encoding header

Hello!On Fri, Jun 28, 2013 at 06:21:08AM -0400, Danack wrote:> I have Nginx setup to allow requests to be served with the X-Accel-Redirect> header. This works fine for images, but I'm trying to...

View Article

Re: Nginx X-Accel-Redirect stripping Content-Encoding header

> Something like this should work:>> location /files/ {> internal;> add_header Content-Encoding $upstream_http_content_encoding;> }Thanks yep that worked.> This might not work well...

View Article


check_nginx_status - nagios-plugin to monitor nginx status

check_nginx_status is (yet another) Nagios-Pluginto monitor nginx status and alerts on various values, based on HttpStubStatusit also creates, based on the returned values, a csv to store...

View Article


Re: GPG error on Nginx repository - NO_PUBKEY

On 28 Jun2013, at 10:15 , Phil Pennock <nginx+phil@spodhuis.org> wrote:> On 2013-06-27 at 11:41 -0400, B.R. wrote:>> The Nginx website's page http://nginx.org/en/linux_packages.html on...

View Article

C.A.S checking/detections

DearI need to force Nginx to detect if client have a valid CAS ticket and beauthentified to the CAS system.This to allow or ban access to websites.Is anybody have tried to build this infrastructure ?I...

View Article

mp4 atom too large

HiI use ngx_http_mp4_module quite heavily, and very occasionally I seethis error for a few files:mp4 atom too large:723640794With the number differing.. Is the number the size of the atom in bytes?If...

View Article

Re: mp4 atom too large

nginx version: nginx/1.4.1built by gcc 4.2.1 20070831 patched [FreeBSD]TLS SNI support enabledconfigure arguments: --with-debug --with-http_ssl_module--with-http_stub_status_module --with-file-aio...

View Article


RE: mp4 atom too large

Hi!----------------------------------------> Date: Fri, 28 Jun 2013 17:11:01 +0100> From: rkearsley@blueyonder.co.uk> To: nginx@nginx.org> Subject: mp4 atom too large>> Hi>> I...

View Article

Re: GPG error on Nginx repository - NO_PUBKEY

Hello,On Fri, Jun 28, 2013 at 9:27 AM, Sergey Budnevitch <sb@waeme.net> wrote:>> On 28 Jun2013, at 10:15 , Phil Pennock <nginx+phil@spodhuis.org> wrote:>> > On 2013-06-27 at...

View Article


Re: Trouble adding /pma location to all virtual hosts

On 6/27/2013 7:13 PM, Francis Daly wrote:> On Thu, Jun 27, 2013 at 01:02:30PM -0400, Ben Johnson wrote:>> On 6/27/2013 12:42 PM, Ben Johnson wrote:>> Hi there,>>>> I don't...

View Article

Help with shared memory usage

Hi,I'm trying to understand how the shared memory pool works inside the Nginx.To do that, I made a very small module which create a shared memory zonewith 2097152 bytes,and allocating and freeing...

View Article


Re: mp4 atom too large

HiI already checked there, I'm getting a different error ("mp4 atom toolarge" != "mp4 moov atom is too large")My error message seems to have been added in this...

View Article

RE: mp4 atom too large

Hi Richard,> I already checked there, I'm getting a different error ("mp4 atom too> large" != "mp4 moov atom is too large")> My error message seems to have been added in this patch>...

View Article

Vanity URL when file doesn't exist

Hi,In my NGINX conf, I'd like to set-up my site with vanity URLs when the file doesn't exist.This works for the most part, but I'd like to have the vanity URL include periods, underscores, dashes, and...

View Article
Browsing all 53287 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>