Re: HTTP AUTH (auth_pam module) Can't initialize threads: error 11

2015-04-10 Thread E.B.
> 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. The error that shows in the Nginx error log file when a browser > tries to authenticate is: > > Can'

alias vs root in regex location

2015-04-10 Thread avi9526
Trying to serve nagios web GUI through nginx. Part of config: … location ~ "^/nagios/(.+?\.php)(/.*)?$" { alias "/usr/share/nagios3/htdocs/"; try_files $1 $uri $uri/ /nagios/index.php; #rewrite"^/nagios/(.+?\.php)(/.*)?$"/$1$2

Re: Nginx reverse proxy multi upstream (multiples sites)

2015-04-10 Thread cloud devops
Excuse me for the mail that was not clear, I don't find the correct technical term to use. Yes "market.cloud.com" and "panel.cloud.com" resolve to the nginx server. When I do "curl -i http://panel.cloud.com/";, Iget the response from 10.1.0.16 and it work fine because it's on the location / Wh

Re: Nginx reverse proxy multi upstream (multiples sites)

2015-04-10 Thread Francis Daly
On Fri, Apr 10, 2015 at 05:09:33PM -0400, cloud devops wrote: Hi there, > When I make http://panel.cloud.com I have the first site which is on the > first stream > Si I make http://panel.cloud.com/panel, in this case it was redirected to > the home page of the second site as the configuration is

Re: limit_rate for POST targets ?

2015-04-10 Thread jb
Anyone? no ideas? how would i go about getting such a feature added. I imagine it would be much the same code, just applied to reading the request body rather than writing it. And since it is core functionality I'm not sure one for POST should be an extension? On Wed, Apr 8, 2015 at 4:23 PM, jb

Re: Nginx reverse proxy multi upstream (multiples sites)

2015-04-10 Thread cloud devops
When I make http://panel.cloud.com I have the first site which is on the first stream Si I make http://panel.cloud.com/panel, in this case it was redirected to the home page of the second site as the configuration is done but i can not navigate on the site because the URL is changed. Posted at Ngi

Re: Nginx reverse proxy multi upstream (multiples sites)

2015-04-10 Thread Francis Daly
On Fri, Apr 10, 2015 at 12:45:21PM -0400, cloud devops wrote: Hi there, > Here is my situation: I will have one frontend server running nginx, and > multiple backends servers running apache or tomcat with different > applications. I am NOT trying to do any load balancing. What I need to do is >