Hello all -
I'm attempting to do the following in nginx and having difficulty with the
last step in this succession.
1) In / location, proxy_pass to Django upstream.
2) proxy_intercept_errors is on in this block and does a proxy_pass to PHP
upstream if 404 is returned.
3) In PHP location block (i
Ok ,you are right .
in this situation, the nginx must read all client request body, BUT
the next step must be handled will
not continue.
So , I backup the write_event_handler to the write_event_handler_back
and when nginx read all request body I restore the handler.
like this:
write_event_handl
Please, anyone help me?
(Also forgot to mention, pam_mysql is the pam module being used)
> > Using the auth_pam module to implement HTTP AUTH:
> >
> > https://github.com/stogh/ngx_http_auth_pam_module/
> >
> > Once in a while authentication seems to stop working across all browsers
> > and users
Hello everyone!
I have next configuration of my nginx:
## first backend ##
upstream first {
server 192.168.1.12:8080;
server 192.168.1.13:8080;
sticky;
}
## second backend ##
upstream second {
server 192.168.1.14:8080;
}
## config ##
server {
listen 192.168.1
The last security audit revealed the following:
V:Wed Apr 15 20:58:19 2015 - 200 for GET: /?mod=node&nid=some_thing&op=view
V:Wed Apr 15 20:58:43 2015 - 200 for GET: /?Open
V:Wed Apr 15 20:58:43 2015 - 200 for GET: /?OpenServer
V:Wed Apr 15 20:59:16 2015 - 200 for GET: /?sql_debug=1
V:Wed Apr 15
Hello!
On Thu, Apr 16, 2015 at 06:02:16PM +0800, cruze guo wrote:
[...]
> but ,the (struct ngx_http_request_s) 's write_event_handler will be
> set to ngx_http_request_empty_handler.
>
> in ngx_http_request_body.c
> function ngx_http_read_client_request_body
> r->write_event_handler = ngx_http
Hi
I'm running nginx as a reverse proxy for a website, and we have an
occasional problem where one of the back end servers occasionally sends an
errant 301 with caching headers as the home page for the site. nginx then
caches this and responds to any requests with this redirect to the wrong
place
I compile the nginx with this configure.
--prefix=/home/svn/nginx --user=svn
--add-module=../ngx_devel_kit-master
--add-module=../srcache-nginx-module-master
--add-module=../redis2-nginx-module-master
--add-module=../set-misc-nginx-module-master
--add-module=../echo-nginx-module-master
--add-module