I had a very similar problem using nginx to front rainbows/rails. Even
though rails was definitely returning a JSON response, ngnix always
responded with 200 OK, Content-Length: 0, and an empty body.
The strange thing was that the error was related to the size of the incoming
POST. When the reque
Are there supposed to be services running on ports 8002 and 8007? If so,
then they don't seem to actually be running and you need to fix that
(that's not nginx-related). If you actually meant to proxy to another
port(s), then look at your nginx config, find where you're proxying to
8002 and 8007 an
Hello,
I've made a patch for this issue a while ago:
http://mailman.nginx.org/pipermail/nginx-devel/2012-December/003152.html
Best regards,
Piotr Sikora
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello,
Thanks but how can I resolve the error “502 bad gateway” for IP Address?
Getting this error while browsing site using IP Address.
Thanks.
Imran khan,
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,241157,241177#msg-241177
___
nginx m
If 8009 is the desired port, then change the upstream server in your
nginx conf to use port 8009. If 8002/8007 are the correct ports, then
change the upstream server to listen on those ports.
_Nik
On 7/23/2013 5:44 PM, imran_kh wrote:
> Hello,
>
> Correct. So how should I resolve this issue?
>
>
Hello,
Correct. So how should I resolve this issue?
Thanks,
Imran Khan.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,241157,241175#msg-241175
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Note that the log entries from your previous email indicate upstream
servers on ports 8002 and 8007. According to what you've posted here,
there's nothing listening on either of those ports.
_Nik
On 7/23/2013 5:20 PM, imran_kh wrote:
> Hello,
>
> Thanks for the prompt reply.
>
> I have scanned th
Hello,
Thanks for the prompt reply.
I have scanned the listing ports in the servers. Please help me out to fix
this issue.
I never worked on Nginx server and am totally stuck.
# sudo nmap localhost
Starting Nmap 5.21 ( http://nmap.org ) at 2013-07-23 20:15 EDT
Nmap scan report for localhost (12
Hi,
I've got a problem when setting up nginx as load balancer between two
tomcats with mutual authentication.
The system is like: Tomcat1 <--https-> Nginx <--https--> Tomcat2.
Before adding nginx, the mutual authentication between tomcat1 and tomcat2
works fine, using cert/key and keystore/tr
The log tells you much... although has was already said the problem is that
something's wrong with whatever should be listening on those ports...
Openerp is one of those and probably is not running or at least it's not
listening on the port specified in nginx configuration...
In any case the p
"502 Bad Gateway" almost always means something is wrong with the
upstream server (i.e., Nginx is working fine, whatever it's proxying to
is having problems) so look for a problem there.
_Nik
On 7/23/2013 4:41 PM, imran_kh wrote:
> Hello,
>
> Thanks for the reply,
>
> Actually openerp is also hos
Hello,
Thanks for the reply,
Actually openerp is also hosted on this server. Is this create “502 bad
gateway” error? Please find the error log and suggest me on this.
#openerp-error.log
2013/07/23 18:21:15 [error] 1465#0: *196 connect() failed (111: Connection
refused) while connecting to upstre
Hi,
Am Dienstag, 23. Juli 2013, 11:06:46 schrieb toriacht:
> Hi,
>
> IN answer to my own question I found this..
>
> +--+
> Max Fails
> Fall_timeout specifies the length of that the server is considered
> inoperative. Once the time expires, new attempts to reach the server will
> start up a
On 23 July 2013 20:20, imran_kh wrote:
> Thanks for the reply. I have never worked on Nginx server. So please help me
> to resolve the issue.
You've been told what the problem is 3 times already. It's nothing to
do with nginx. The problem is that the process that nginx has been
configured *to*tal
Hello,
Thanks for the reply. I have never worked on Nginx server. So please help me
to resolve the issue.
File /etc/nginx/nginx.conf content are as follow.
user www-data;
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
You can't browse to the URL because there is no web application running on port
8009.
You tell nginx to listen on port 80...so far all good.
But then you are telling nginx to proxy_pass the request to a diferent port...
So the question is more: is this really what you want? If so... may I ask
Hello,
Thanks for the reply but when I am browsing example.com or using ip address
getting error " 502 bad gateway".
Please suggest me on this..
Thanks,
Imran Khan.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,241157,241160#msg-241160
__
the port in proxy_pass is not for listening/accepting incoming
connections - it is for connecting outwards to another server/service
You must have something else (another httpd, probably not nginx)
listening on 8009..?
On 23/07/13 17:39, imran_kh wrote:
Hello,
I am using Nginx web server
Your configuration means that Nginx is listening on port 80 and will
forward any request form example.com to a backend located on localhost
listening on port 8009.
Since Nginx is a proxy, you need a backend to serve content to which
requests sent to Nginx will be forwarded.
You seem not to unders
Hello,
I am using Nginx web server and getting error “502 bad gateway” while
accessing some sites.
I have observed that, proxy_pass port is not listing in the server.
e.g.:- In above configuration example.com is running on port 80 and
proxy_pass localhost is running on port 8009.
Port 80 is listi
Hello!
On Tue, Jul 23, 2013 at 10:06:09AM +1000, Robert Mueller wrote:
>
> > > Yes, I haven't heard in a while what the status of this is. I'm
> > > currently using our existing patch, but would love to drop it and
> > > upgrade when it's included in nginx core...
> >
> > As far as I can tell t
Hi Team,
I am newbiw too and i am setting up load balancer with nginx from "
https://www.digitalocean.com/community/articles/how-to-set-up-nginx-load-balancing";
but my reuest are not going to the servers which i have configured.
below is the my nginx.conf setup
upstream nitesh {
server
Hi,
IN answer to my own question I found this..
+--+
Max Fails
According to the default round robin settings, nginx will continue to send
data to the virtual private servers, even if the servers are not responding.
Max fails can automatically prevent this by rendering unresponsive servers
ino
Hi,
I am a nginx newbie. I have nginx configured as a reverse proxy/load
balancer in front of a small cluster of Jboss servers. I have configured as
per the tutorials on the web like this one ref:
https://www.digitalocean.com/community/articles/how-to-set-up-nginx-load-balancing
and all works fine
here are those outputs : http://pastebin.com/0Epq6KGj
the above output is for nginx 1.4.1 if i update to 1.4.2 i loose nearly half
of those lines in nginx -v output including geoip and etc.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,241126,241151#msg-241151
___
Hello!
On Tue, Jul 23, 2013 at 08:58:50AM -0400, mortadelo_de wrote:
> Hi, I'm wondering whether the MailProxy module allows access to the e-mail
> content (body and attachments) of a proxied email. I'd like to intercept
> (encrypt) emails within SMTP, POP3 and IMAP requests. I haven't been able
Hi, I'm wondering whether the MailProxy module allows access to the e-mail
content (body and attachments) of a proxied email. I'd like to intercept
(encrypt) emails within SMTP, POP3 and IMAP requests. I haven't been able to
find any configuration samples that would allow access to the email conten
Hi,
for the http header Nginx Nginx convert the dashes in the header name to
underscores.
I have a query string with a param with a dash in the name, but i can't see
it with $arg_PARAMETER variable.
There is a way to have the value of this parameter in a variable?
For example my query string is:
On 23 Jul2013, at 15:45 , inspiron wrote:
> I haven't changed anything since last update from 1.4 to 1.4.1 and now again
> like before i just used "yum update nginx" which updated nginx from 1.4.1 to
> 1.4.2 just like what i've done before to upgrade from 1.4 to 1.4.1 !
Please show output of:
Hello Maxim,
Thanks for your recommendations. I realise that what this server is doing is
a bit unusual, however:
> That is, it's 100 Continue isn't expected to be returned to nginx
> from a complaint HTTP/1.1 server even if a request is via
> HTTP/1.1.
I just wanted to clarify that the server
I haven't changed anything since last update from 1.4 to 1.4.1 and now again
like before i just used "yum update nginx" which updated nginx from 1.4.1 to
1.4.2 just like what i've done before to upgrade from 1.4 to 1.4.1 !
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,241126,241141#msg
Hello!
On Mon, Jul 22, 2013 at 08:20:04PM -0400, rstarkov wrote:
> I'm using nginx as a reverse proxy, configured to use HTTP 1.1 so as to
> support range requests. The server responds to some of the requests with a
> "100 Continue", even if there was no "Expect: 100-continue" in the request.
> T
Hi again,
I found the problem: I had `proxy_set_headerHost $host;` in
the configuration file.
If I replace this line by `proxy_set_headerHost
$http_host;` the port is now correctly set on http 302.
Regards,
> Hi list,
>
> I have a web app proxied by nginx. Everything works
On 23 Jul2013, at 01:44 , Bing Bang wrote:
> Hi,
>
> I just updated my nginx from 1.4.1 to 1.4.2 from packages provided by nginx
> for centos and then i realized that many modules available with 1.4.1 are not
> compiled in premade packages of 1.4.2 for centos, so i've just downgraded my
> n
Hi list,
I have a web app proxied by nginx. Everything works fine locally.
However the web server is on our private network and I would like to
access it though a ssh tunnel from the outside.
Most operations works fine except when the web app returns a 302
redirection. In that case it seems that n
You can download and extract the package and replace all files.
But you will have to load the new binary at one time.
I might be wrong - but I suppose you can do that gracefully
Regards, Axl
Am Dienstag, 23. Juli 2013, 04:24:38 schrieb JackB:
> This might be a little off topic, but how can
openletter Wrote:
---
> If you are using the apt-get upgrade or aptitude upgrade commands, the
> service will be restarted for you.
This might be a little off topic, but how can one upgrade nginx on ubuntu
with the official ppa via apt without ha
37 matches
Mail list logo