secure websocket (wss) proxy support in nginx

2013-05-31 Thread Alder Network
Say if I want to proxy both websocket (ws) and secure websocket traffic, would latest version of Nginx support that? What would be the conf? Thanks, - Alder ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: using a proxied server as default_server

2013-05-31 Thread Francis Daly
On Thu, May 30, 2013 at 10:16:28PM -0400, angelochen960 wrote: Hi there, > I have a tomcat app running behind nginx, it works, now I make it the > default_server, this works if it access with server name like sample.com, > but if access with an IP, http://192.168.1.1, it does not work, any idea

Re: [MODULE] limit traffic rate for nginx

2013-05-31 Thread bigplum
Hi guys, Some days ago, one of this module users complaint about the unfair speed for multi-connections. So I have some time to realize a new method to limit download rate. In the new code, if last second speed is lager than max rate, the timer is added in this module, and the body filter will re

Re: using a proxied server as default_server

2013-05-31 Thread angelochen960
Hi, Sorry for not making it more specific, the issue is, the app in the tomcat is a virtual host as well, so it checks 'host' field for 'sample.com', a default_server with specific IP when accessed by a IP address like http://192.168.1.1/, it will not have a 'host', thus when passed to the app in

Re: using a proxied server as default_server

2013-05-31 Thread Francis Daly
On Fri, May 31, 2013 at 07:30:22AM -0400, angelochen960 wrote: Hi there, > Sorry for not making it more specific, the issue is, the app in the tomcat > is a virtual host as well, so it checks 'host' field for 'sample.com', No worries. Now that you have identified the problem, the possibilities

Re: using a proxied server as default_server

2013-05-31 Thread angelochen960
Hi Francis, I think that's a good approach, will give that a try, thanks, Angelo Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239707,239726#msg-239726 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

if statement + ssl_certificate?

2013-05-31 Thread natostanco
Is it possible? or has it been forbidden in recent versions? Because I tried and it does not allow it. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239732,239732#msg-239732 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mai

Re: if statement + ssl_certificate?

2013-05-31 Thread Richard Stanway
It is impossible, since the certificate has to be presented to the client before the server knows anything about the request. On Fri, May 31, 2013 at 1:25 PM, natostanco wrote: > Is it possible? or has it been forbidden in recent versions? Because I > tried > and it does not allow it. > > Posted

problem setting up certificate

2013-05-31 Thread Scott Ribe
I'm getting this error after installing the certificate & key: [emerg] 809#0: SSL_CTX_use_PrivateKey_file("/paging/site/config/server.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch) I've tried this twice, (started over with a new csr, thin

Re: problem setting up certificate

2013-05-31 Thread Scott Ribe
Meh, never mind. Supposedly same source of certificates as prior server installed within this same institution (I didn't do the prior one), but this one is in root->mine order instead of mine->root order. Edited the cert file to switch them around, and now it works. On May 31, 2013, at 12:40 PM

HttpUploadModule - after upload file won't move/rename

2013-05-31 Thread Homebrewsky
I'm trying to setup a very simple HTTP POST file upload server. I'm trying to POST files via curl, without worrying about forms or responses, etc. I just want to drop the file in nginx, and have it land. So far, the file uploads into the upload_store location, but it doesn't move out. I'm lef

Re: HttpUploadModule - after upload file won't move/rename

2013-05-31 Thread Alexander Kunz
Hello, Am 31.05.2013 23:50, schrieb Homebrewsky: I'm trying to setup a very simple HTTP POST file upload server. I'm trying to POST files via curl, without worrying about forms or responses, etc. I just want to drop the file in nginx, and have it land. So far, the file uploads into the uploa

making supervisord web interface viewable on nginx

2013-05-31 Thread Jonathan Vanasco
using the inet interface on supervisord was simple ( proxying to port 9001) i wanted to turn that off, avoid tcp and just use the unix socket after a bit of tinkering, this seems to work : proxy_pass http://unix:///tmp/supervisord.sock:; is this correct way to handle this ? __

Need help on proxy passing

2013-05-31 Thread chamith Jayaweera
I experience an issue on missing some part of the page (Long page) on passing proxy requests. Please help me to solve this. Thank You. My configuration file is as follow. server { root /usr/share/nginx/www; index index.html index.htm; server_name localhost; location / { proxy_pass https://1