Re: https redirect going to infinite loop

2013-07-11 Thread parulsood85
Hello Francis, Thanks for the quick reponse. Here is the snipet of the config being used # http { include mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_u

Re: https redirect going to infinite loop

2013-07-11 Thread parulsood85
Hello Francis, Thanks for the quick reponse. Here is the snipet of the config being used # http { include mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_u

Re: Proxy returns 504 then blocks next connections

2013-07-11 Thread R1CH
Does your script use sessions? You didn't specify with language it uses, but several popular languages such as PHP will lock a session file until the request is complete, preventing multiple requests while the first request continues to run. Mechanisms similar to session_write_close() in PHP can wo

Re: upstream timed out

2013-07-11 Thread Francis Daly
On Thu, Jul 11, 2013 at 12:43:06PM -0400, Reddirt wrote: Hi there, > The Nginx log has this error: > 2013/07/11 10:06:46 [error] 21344#0: *201 upstream timed out (110: > Connection timed out) while reading response header from upstream, client: > 192.168.10.11, server: , That says that as far as

Re: https redirect going to infinite loop

2013-07-11 Thread Francis Daly
On Thu, Jul 11, 2013 at 07:27:14AM -0400, parulsood85 wrote: Hi there, > I am new to nginx. I am trying to redirect all request to https. This is the > redirect i am using > > rewrite ^/(.*) https://example.com permanent; What server{} block is this in? What "listen" or similar directives a

Re: LDAP + Header Rewrite

2013-07-11 Thread Francis Daly
On Thu, Jul 11, 2013 at 05:45:15AM -0400, GregYoung wrote: Hi there, > We have LDAP authentication working and we have nginx working as a pass > through. We are just unsure of how to get the information from the LDAP > module to add the header. Which ldap module is that? And what does its docum

Re: configuration problem whit ngingx and unicorn

2013-07-11 Thread Yunior Miguel A.
After many hours breaking my head, i am realize that my mistake was not create the link symbolic in nginx ln -s /etc/nginx/sites-available/redmine /etc/nginx/sites-enabled/redmine :) :() -- Posted via http://www.ruby-forum.com/. ___ nginx mailing l

Proxy returns 504 then blocks next connections

2013-07-11 Thread abstein2
I'm having an issue where I proxy a long running script and receive a 504 error when it exceeds my proxy_read_timeout setting. All of that's behaving normally -- what isn't behaving normally is that the next several requests I make to the domain via the same proxy code also return 504s after timing

nginx debian 6 64bits

2013-07-11 Thread dumorim
default.conf server { if ($host !~* ^www\.) { rewrite ^(.*)$ http://www.$host$1 permanent; } listen 80; server_name exemple.org; index index.html index.htm index.php; root /home/home; location / {

upstream timed out

2013-07-11 Thread Reddirt
I am a newbie. I'm running Ubuntu, Nginx and 5 Thin servers - that serve up a Ruby on Rails app. The system hangs about once a day. The Nginx log has this error: 2013/07/11 10:06:46 [error] 21344#0: *201 upstream timed out (110: Connection timed out) while reading response header from upstream,

configuration problem whit ngingx and unicorn

2013-07-11 Thread Yunior Miguel A.
Hello again: I am working to configure a nginx-unicorn server but when I am finish to configuring that server and try to enter to de web site, the welcome to nginx default page open, and not my web site, this is my configuration files: #NGINX redmine: upstream redmine { # fail_timeout=0 mean

Re: HSTS and X-Frame-Options

2013-07-11 Thread Some Developer
On 11/07/13 12:25, Some Developer wrote: Hi, I've just enabled HSTS and X-Frame Options in my nginx configuration (1.2.9) and was wondering if I have done it correctly. Currently my site has 4 server blocks. One to redirect domain.com to https://www.domain.com One to redirect www.domain.com t

Re: Connection reset by peer and other problems

2013-07-11 Thread hawkins
This was solved. The problem was related with New Relic module. 2 weeks to find the problem. :( Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240477,240758#msg-240758 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/l

https redirect going to infinite loop

2013-07-11 Thread parulsood85
Hi, I am new to nginx. I am trying to redirect all request to https. This is the redirect i am using rewrite ^/(.*) https://example.com permanent; somehow when I hit http://example.com on browser it goes to infinite loop. Note: ssl is enabled on the load balancer Please help! Regards, Par

HSTS and X-Frame-Options

2013-07-11 Thread Some Developer
Hi, I've just enabled HSTS and X-Frame Options in my nginx configuration (1.2.9) and was wondering if I have done it correctly. Currently my site has 4 server blocks. One to redirect domain.com to https://www.domain.com One to redirect www.domain.com to https://www.domain.com One to redirec

LDAP + Header Rewrite

2013-07-11 Thread GregYoung
We have been looking around for a while on this one without luck so I figured I would see if anyone here might have an idea. Nginx seems to be able to do everything if you can just figure out how :) We are trying to use nginx as a reverse proxy / trusted intermediary for authentication. We would

Nike Air Huarache Free 2013 Shoes Blue Cool Grey Shoes

2013-07-11 Thread gnginx
Runners are cautioned to make the changeover a gradual 1 as they will have significantly a lot less support from too much heel assistance in the conventional as nicely as corrective operating footwear. The American Marketing Association defines a brand being a "name, time period, design, symbol, or

Nike 6.0 Mavrk Mid 2 Skate Shoes White Red Cheap Price

2013-07-11 Thread gnginx
Runners are cautioned to make the changeover a gradual 1 as they will have significantly a lot less support from too much heel assistance in the conventional as nicely as corrective operating footwear. The American Marketing Association defines a brand being a "name, time period, design, symbol, or

Re: Help Needed to configure NGINX reverse proxy with URL rewrite.

2013-07-11 Thread mex
yes, you can! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,240748,240749#msg-240749 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Help Needed to configure NGINX reverse proxy with URL rewrite.

2013-07-11 Thread sdip
Hi, I am new on NGINX. I am looking for reverse proxy solution which can rewrite URL as well. It seems NGINX might be able to do the same thus asking for your help. Our requirement is to publish a external url for one of our internal server and hide the external url address from those external us