proxy pass with rewrite

2013-10-24 Thread Philipp Kraus
Hello, I would like to configure ngix with jenkins, nginx should be a proxy for the jenkins instance. I have configuration the proxy pass options in this way: location /jenkins { proxy_pass http://localhost:8080/; proxy_redirect off; proxy_set_header Ho

Re: Running code in nginx's master process

2013-10-24 Thread Maxim Dounin
Hello! On Thu, Oct 24, 2013 at 08:37:03AM -0400, mzabani wrote: > It seems like the init_module callback is not executed in nginx's master > process. At least, I've printed a call to getpid() and the pid returned was > that of a process that wasn't running, which makes me think it is executed > i

Nginx and iis for sharepoint

2013-10-24 Thread mohamed0205
Hi all, I am attempting to implement nginx as a reverse proxy to a sharepoint server with SSL and user-authentication. The problem I am having is nginx does not appear to pass the credentials to the real server. I'm wondering if anybody can help me for this issue. Thanks a lot. Posted at Ng

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

2013-10-24 Thread Brian08275660
Hi Francis, Thanks a lot! You saved me probably a couple of days of research. It is working now! I did this: The user will send my a "capacity" parameter, with a value of 2X or 3X or 4X or..(etc) map $arg_capacity $2X_key{~*2X $http_x_forwarded_for;default "";} map $arg_capa

Re: Running code in nginx's master process

2013-10-24 Thread mzabani
It seems like the init_module callback is not executed in nginx's master process. At least, I've printed a call to getpid() and the pid returned was that of a process that wasn't running, which makes me think it is executed in a process that forks the master process itself. Posted at Nginx Forum: