HTTP-Post data with Tomcat

2014-02-15 Thread Philipp Kraus
Hello, I'm using Nginx as proxy for a Tomcat 7. My configuration shows: upstream tomcat { server 127.0.0.1:9090 fail_timeout=0; } location /jenkins { proxy_set_headerHost $http_host; proxy_set_headerX-Real-IP $remote_addr; proxy_set_headerX-For

rewrite except one directory

2014-02-15 Thread Philipp Kraus
Hello, I'm using the following rewrite options { try_files $uri @pico; } location @pico { rewrite ^(.*)$ /index.php; } So I would like to disable the rewrite for one subfolder. I have some PHP scripts with should not use the rewrite call e

Re: nginx mail proxy - dovecot ssl backend

2014-02-15 Thread dukzcry
P.S.: I think then it may be examined for inclusion into nginx, but not now in it's current form :-) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,219069,247609#msg-247609 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailm

Re: nginx mail proxy - dovecot ssl backend

2014-02-15 Thread dukzcry
Hello. I plan to beat all the ugliness and produce a clean patch very soon. I'll let you know. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,219069,247608#msg-247608 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/lis

Webdav Access

2014-02-15 Thread Silvio Siefke
Hello, i has read that i can use nginx as webdav server. I has set up the config which was on wiki but the access make me trouble. Can i set so that all is allowed from my dyndns address? Or best authentification with system user? Thank you for help & Nice Day Silvio ___

Re: Nginx ask me to watch error log but error log is empty

2014-02-15 Thread Valentin V. Bartenev
On Saturday 15 February 2014 16:20:17 okay wrote: > Which working directory ? The domain2.com own? > > If yes no file with off on it. > > My english is not really good sorry > Working directory of nginx, see "prefix" option: http://nginx.org/en/docs/configure.html Actually that was a hint

Re: nginx mail proxy - dovecot ssl backend

2014-02-15 Thread NetCompany
any chance this patch / change will be added to the default release? We run nginx-full 1.4.4 from Debian Wheezy Backports and the 'issue' described above still seems to apply (no hostname / SSL support for backend server). Posted at Nginx Forum: http://forum.nginx.org/read.php?2,219069,247602#msg

Re: Minimal configuration

2014-02-15 Thread Francis Daly
On Sat, Feb 15, 2014 at 12:29:00PM +0100, B.R. wrote: > One could imagine a minimal server configured as such: If you want the minimal config, start with an empty file and see what you need to add to get it to work. I suspect that === events{} http{ server{} } === will probably work usefully.

Re: Nginx ask me to watch error log but error log is empty

2014-02-15 Thread okayyyyy
Which working directory ? The domain2.com own? If yes no file with off on it. My english is not really good sorry Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247597,247599#msg-247599 ___ nginx mailing list nginx@nginx.org http://mailman.

Re: Nginx ask me to watch error log but error log is empty

2014-02-15 Thread Valentin V. Bartenev
On Saturday 15 February 2014 16:08:04 okay wrote: > Hello, > > Sometimes I get a 403 error also "Un error occured. Faithfully yours, > nginx." with nothing in error.log > > Already checked > /var/log/nginx/error.log > /usr/local/nginx/logs/error.log > > Both of them are chmod in 777 > > I'

Nginx ask me to watch error log but error log is empty

2014-02-15 Thread okayyyyy
Hello, Sometimes I get a 403 error also "Un error occured. Faithfully yours, nginx." with nothing in error.log Already checked /var/log/nginx/error.log /usr/local/nginx/logs/error.log Both of them are chmod in 777 I'm tried to configure rutorrent but I can't even access, Got a 403 forbiden ...

grunt deploy and nginx root dir

2014-02-15 Thread Ian Evans
Just curious if anyone out there is using grunt and how you deal the possibility of race conditions, i.e. people trying to access old assets just as grunt is creating/renaming new ones. I'd be interested to hear how people are handling this. I heard one example might be to create a new build d

Re: Way to pass all HTTP requests headers verbatim to PHP-FastCGI server?

2014-02-15 Thread Alex
My Apologies - I should have looked more closely. Looks like the header data in the $_SERVER variable is AS IS; no modification taking place. Best, Alex On 2014-02-15 14:21, Alex wrote: > Hi, ___ nginx mailing list nginx@nginx.org http://mailman.nginx

Way to pass all HTTP requests headers verbatim to PHP-FastCGI server?

2014-02-15 Thread Alex
Hi, I would require to access via PHP a client's unmodified HTTP request headers. Using standard PHP variables ($_SERVER etc.) isn't an option since these store headers in normalized form; but I would need to have them verbatim, so for instance, "Keep-Alive" versus "keep-alive" matters. Running

Minimal configuration

2014-02-15 Thread B.R.
One could imagine a minimal server configured as such: in */nginx/nginx.conf: http { #All default http stuff, like MIME type inclusion, etc. include conf.d/*.conf } in */nginx/conf.d/default.conf server { listen 80; index index.html index.htm; try_files $uri $uri/ /; } Howeve