Re: How do i get the request body ?

2014-01-08 Thread humank
Maxim Dounin Wrote: --- > Hello! > > On Wed, Jan 01, 2014 at 11:44:24PM -0500, humank wrote: > > > Hello guys, > > > > I'm developing a nginx module, the intent is to get the > request > > body, then write some response depends on what

Re: OT: OpenSSL 1.0.1f

2014-01-08 Thread Aidan Scheller
Does using the --with-openssl-opt="enable-ec_nistp_64_gcc_128" configure parameter without the *--with-openssl *cause a static version of OpenSSL to be created for Nginx? I'm unsure as the configuration summary then lists that the system library is being used. Thanks, Aidan On Wed, Jan 8, 20

"Primary script unknown" wp-login.php

2014-01-08 Thread nano
As subject says: I cannot access wp-admin due to above [error]. Otherwise, site functions as it should. See error log: 2014/01/09 04:31:23 [error] 35759#0: *5254 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: ipaddress, server: hostname, r

Time out errors using uwsgi with ngnix on debian 7 (wheezy)

2014-01-08 Thread Denis Papathanasiou
I've installed nginx via apt, using the nginx stable pkg as described here: http://nginx.org/en/linux_packages.html#stable It works perfectly for serving static files using the default configuration. Next, I installed uwsgi from source, as described here: https://pypi.python.org/pypi/uWSGI/1.2.3

proxy_cache incorrectly returning 304 Not Modified

2014-01-08 Thread Jon Leighton
Hi there, I work on a site which has nginx in front of a Rails application, and we use proxy_cache. For the home page, our application returns a "max-age=600, public" Cache-Control header, and we have nginx configured to cache the response using proxy_cache. This generally works fine, but last n

[ANNOUNCE] Tengine-2.0.0 is released

2014-01-08 Thread Chuanwen Chen
Hi folks, We are glad to announce that Tengine-2.0.0 (development version) has been released. You can either checkout the source code from GitHub: https://github.com/alibaba/tengine or download the tarball directly: http://tengine.taobao.org/download/tengine-2.0.0.tar.gz The highlights of this re

Re: OT: OpenSSL 1.0.1f

2014-01-08 Thread itpp2012
itpp2012 Wrote: --- > 1.0.1f against 1.5.9 mainline (today); > > .\ssl\s23_clnt.c(286) : warning C4244: 'initializing' : conversion > from 'time_t' to 'unsigned long', possible loss of data Also found by http://rt.openssl.org/Ticket/Display.html

Re: Empty error log

2014-01-08 Thread wishmaster
--- Original message --- From: "chAlx" Date: 8 January 2014, 11:08:35 > I have installed Nginx for a small web server with static content. It works > fine but the site error log file is always empty. All errors such as 404 are > written to the access log only. File grants are the sam

How to combine try_files with multiple proxy destinations

2014-01-08 Thread rrrrcccc
I have the folllowing requirement: 1. if /usr/share/nginx/html/maintenance.html exists, then always show this file to browser. 2. if this is the static file which located in the sub-directories of /usr/share/nginx/html/, then show this static file to browser. 3. if the URI begins with /testapp1/, t

Re: Empty error log

2014-01-08 Thread Valentin V. Bartenev
On Wednesday 08 January 2014 13:07:50 chAlx wrote: > I have installed Nginx for a small web server with static content. It works > fine but the site error log file is always empty. All errors such as 404 > are written to the access log only. File grants are the same for access and > error logs. >

Empty error log

2014-01-08 Thread chAlx
I have installed Nginx for a small web server with static content. It works fine but the site error log file is always empty. All errors such as 404 are written to the access log only. File grants are the same for access and error logs. I've tried to change error_log param from "error" to "war

Re: Problem trying to rewrite a URL

2014-01-08 Thread António P . P . Almeida
AFAIK nginx has no directive for unescaping URLs. You could do it with Lua or go down a messy path of map directives listing all arguments with permutations. Rather what you need to do is fix your application so that it accepts escaped URLs. They're standard and there's no reason why it shouldn't