Thread support

2014-06-02 Thread nginxsantos
Hi, I am trying to run Nginx as a multi threaded application. Looking at the code it seems the initial code to support multi threaded was there. May be it got broken (as the error message says) or it was not developed to the end. Can anyone who is aware of the history of the Nginx comment about t

Re: Can't get nginx to work with Adminer nor phpMyadmin

2014-06-02 Thread Francis Daly
On Mon, Jun 02, 2014 at 10:12:03PM +0200, KC wrote: Hi there, > I want to be able to type http://ipaddress/phpmyadmin (or adminer) > and see its respective interface. But as it is now, I only get 404 > error. If you want http://ipaddress/phpmyadmin and http://ipaddress/adminer to both work, you

Re: Can't get nginx to work with Adminer nor phpMyadmin

2014-06-02 Thread KC
Sorry about the link. Don't know how it happened. So, the portions in question of nginx.conf are: - server { server_name phpmyadmin.; root/usr/share/webapps/phpMyAdmin; index index.p

Re: Can't get nginx to work with Adminer nor phpMyadmin

2014-06-02 Thread B.R.
The right link for you nginx.conf is: http://pastebin.com/uNTAwuTp You could at least had that properly done... Copy-pasting nginx configuration from somewhere else without understanding it has little chances of success. What have you tried to configure? What do you expect from it (which directiv

Re: Browser showing headers and Gziped code inside body.

2014-06-02 Thread B.R.
What you provided clearly shows that nginx has been compiled with 3rd-party modules. Standard debugging procedures suggest: 1°) Removal all 3rd-party modules to address issues in core nginx only 2°) If not enough, check your logs to see if anything appears in them regarding that client connection(

Can't get nginx to work with Adminer nor phpMyadmin

2014-06-02 Thread KC
I have been trying to set up Nginx with Adminer (and phpMyadmin), but I can't seem to get it to work. Here are my config files: /etc/nginx/nginx.conf: http://pastebin.com/uNTAwuTp* * /etc/nginx/sites-available/adminer: http://pastebin.com/cpwK1Bz2 But still if I go to http://server.ip/adminer

Browser showing headers and Gziped code inside body.

2014-06-02 Thread Satake
I'm currently using nginx/1.4.7 and for some reason a client is complaining that the page is showing with errors in both his browsers (Firefox and IE). The error in question is the following: https://www.dropbox.com/s/wnpjyyq01j7l5qg/Problemas%20ao%20inserir%20post.jpg Does anyone have any sugge

Re: Invalid ports added in redirects on AWS EC2 nginx

2014-06-02 Thread allang
That's fixed it ! Thanks Maxim. You are a lifesaver. Much appreciated. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250545,250586#msg-250586 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Connection reset by peer error !!

2014-06-02 Thread shahzaib shahzaib
thanks @Maxim, our upstream server is apache and there are not any suspicious error_logs in apache. We're getting one reset error every 3 hours. Is there any clue to find the root cause of apache problem ? I know its nginx forum, sorry for off-topic. On Mon, Jun 2, 2014 at 7:52 PM, Maxim Dounin

Re: Invalid ports added in redirects on AWS EC2 nginx

2014-06-02 Thread ron ramos
how about binding it to another port like 8080. so elb will receive request as https port 443 and send it to ec2 instance via http port 8080. will that help? regards, nhadie On 2 Jun 2014 01:48, "allang" wrote: > On AWS, I'm trying to migrate a PHP Symfony app running on nginx. I want to > be ab

Re: How do i free memory when my master process ends?

2014-06-02 Thread Maxim Dounin
Hello! On Mon, Jun 02, 2014 at 04:15:09PM +0530, Adarsh Pugalia wrote: > I am allocating memory using malloc for some of my variables in my module. > I know i can call an exit master process, but how do i access my variables > in that function. I tried finding some examples, but didnt find any. C

Re: Proposal minor patch on ngx_http_upstream.c

2014-06-02 Thread crespin
Hello Ruslan, Thanks for your remark. Is it necessary to send the correct patch ? Regards, yves Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250570,250579#msg-250579 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman

Re: Invalid ports added in redirects on AWS EC2 nginx

2014-06-02 Thread Maxim Dounin
Hello! On Sun, Jun 01, 2014 at 01:48:09PM -0400, allang wrote: > On AWS, I'm trying to migrate a PHP Symfony app running on nginx. I want to > be able to test the app by directly talking to the EC2 server and via an > Elastic Load Balancer (ELB -the public route in). > > I've setup the ELB to de

Re: Connection reset by peer error !!

2014-06-02 Thread Maxim Dounin
Hello! On Mon, Jun 02, 2014 at 02:04:45PM +0500, shahzaib shahzaib wrote: > Hello, > > We're using nginx as reverse proxy in front of apache and > following error occurs most of the time : > > 2014/06/02 01:00:28 [error] 3288#0: *6492138 recv() failed (104: Connection > reset by peer)

Re: $rquest_time for only the time it spent getting data from the upstream

2014-06-02 Thread Maxim Dounin
Hello! On Mon, Jun 02, 2014 at 04:00:28PM +0200, Christian Parpart wrote: > Hey all, > > we used $request_time in the past to measure how long it took to serve > certain pages, this was never the problem, because there was something in > front of nginx, thus, the client read/write operatings did

Re: Proposal minor patch on ngx_http_upstream.c

2014-06-02 Thread Ruslan Ermilov
On Mon, Jun 02, 2014 at 09:51:42AM -0400, crespin wrote: > Hello, > > errno is only set on error, so if |recv()| is a success, |err| will have a > random value. > Only debug message are impacted. > Can you check if it is ok? > Comments are welcome. > Feel free to change the patch. > > Regards, >

$rquest_time for only the time it spent getting data from the upstream

2014-06-02 Thread Christian Parpart
Hey all, we used $request_time in the past to measure how long it took to serve certain pages, this was never the problem, because there was something in front of nginx, thus, the client read/write operatings didn't influence the $request_time as much as a real client would. However, now, that we

Re: Issue nginx - ajax

2014-06-02 Thread Vishal Mestri
Hi All and B.R. We tested on Apache as well and we faced same issue. Further, we disabled Antivirus on our client machine.(where we are accessing browser). Post that, we did following reverse proxy configuration on Nginx. When we receive request on 443 port, it will be sent to 80 port.

Proposal minor patch on ngx_http_upstream.c

2014-06-02 Thread crespin
Hello, errno is only set on error, so if |recv()| is a success, |err| will have a random value. Only debug message are impacted. Can you check if it is ok? Comments are welcome. Feel free to change the patch. Regards, yves --- nginx-1.6.0/src/http/ngx_http_upstream.c |5 + 1 file chan

Re: Connection reset by peer error !!

2014-06-02 Thread shahzaib shahzaib
kept on getting those timeouts. recv() failed (104: Connection reset by peer) while reading response header from upstream On Mon, Jun 2, 2014 at 3:15 PM, shahzaib shahzaib wrote: > The website content is similar to youtube, random stuff. :-) Don't get it > wrong. It's not a porn website :) > >

Re: Email Reverse Proxy issue

2014-06-02 Thread Maxim Dounin
Hello! On Sun, Jun 01, 2014 at 06:30:49AM -0400, omercz wrote: > I am using Nginx as an Email reverse proxy. > The email client sends a request to the nginx, the nginx fetch the WHOLE > email(message) from exchange server, and only then manipulates it and sends > it back to client. This is not h

Re: Nginx 1.7.0: location @php

2014-06-02 Thread Jonathan Matthews
On 2 June 2014 04:47, TECK wrote: > Francis, > > We are going in circles without reaching a solution Fortunately, this being a *public* *mailing* *list*, and Francis (along with almost every other subscriber) giving his time, experience and opinions for free, you are definitely no worse off than

How do i free memory when my master process ends?

2014-06-02 Thread Adarsh Pugalia
I am allocating memory using malloc for some of my variables in my module. I know i can call an exit master process, but how do i access my variables in that function. I tried finding some examples, but didnt find any. Can anyone guide me through this. __

Re: Connection reset by peer error !!

2014-06-02 Thread shahzaib shahzaib
The website content is similar to youtube, random stuff. :-) Don't get it wrong. It's not a porn website :) On Mon, Jun 2, 2014 at 3:13 PM, shahzaib shahzaib wrote: > Lol, well that was some URL link on our website :-D. Could you please help > me instead of enjoying the xxx words :p > > > On Mo

Re: Connection reset by peer error !!

2014-06-02 Thread shahzaib shahzaib
Lol, well that was some URL link on our website :-D. Could you please help me instead of enjoying the xxx words :p On Mon, Jun 2, 2014 at 3:06 PM, B.R. wrote: > '18-xxx-sex-hot' :oD > > Pro. > --- > *B. R.* > > > On Mon, Jun 2, 2014 at 11:04 AM, shahzaib shahzaib > wrote: > >> Hello, >> >>

Re: Connection reset by peer error !!

2014-06-02 Thread B.R.
'18-xxx-sex-hot' :oD Pro. --- *B. R.* On Mon, Jun 2, 2014 at 11:04 AM, shahzaib shahzaib wrote: > Hello, > > We're using nginx as reverse proxy in front of apache and > following error occurs most of the time : > > 2014/06/02 01:00:28 [error] 3288#0: *6492138 recv() failed (104: > Con

Re: Wildcard proxy_cache_purge doesn't work

2014-06-02 Thread Ventzy
I see. Thank you. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250519,250558#msg-250558 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Connection reset by peer error !!

2014-06-02 Thread shahzaib shahzaib
Hello, We're using nginx as reverse proxy in front of apache and following error occurs most of the time : 2014/06/02 01:00:28 [error] 3288#0: *6492138 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 141.0.10.83, server: domain.com, requ