Re: reverse proxy images - windows

2014-08-13 Thread Francis Daly
On Wed, Aug 13, 2014 at 04:53:08PM -0400, itpp2012 wrote: Hi there, > Where have you been? or you would have known this project > http://nginx-win.ecsds.eu/ I think it's great that someone is scratching this itch. Are there any plans or prospects to get the code changes merged into the "authori

Re: 'auto'rewrite link to a folder

2014-08-13 Thread Francis Daly
On Wed, Aug 13, 2014 at 10:43:24PM +0200, Pascale Camille wrote: Hi there, > my old vps debian6, nginx-1.2.6+php, used to work fast and perfectly > with /etc/nginx/host.d/main.conf : > return 301 http://~^(?.+)\.2maxi\.com$request_uri; Are you sure this used to work on the old server?

Re: add_header is not working in certain locations

2014-08-13 Thread Francis Daly
On Wed, Aug 13, 2014 at 02:28:27AM -0400, bodomic wrote: Hi there, > Hi all, I've got strange behavior that I don't understand in two different > configs. I'll post examples below, in both of them I use add_header two > times and one of them is not working while second does. > > Example 1: > Req

Microcache : empty pages ?

2014-08-13 Thread Ronald Van Assche
I have somme strange comportement on nginx 1.7.4 / Freebsd 9 : Some Wordpress microcached pages rendered ..EMPTY HTML pages , for about 1/20 visitors . When it happens, we have to make a forced reload of the page on the navigator (Firefox or others). configure arguments: --prefix=/usr/local/etc

Re: Sudden 500 Internal Server Error nginx/1.0.11

2014-08-13 Thread Googlemo
Well, thats actually good idea... And after some tweaking with my tomcat, that was an issue! I don't know how, but tomcat stopped working and didn't restart properly! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252546,252556#msg-252556 ___

Re: reverse proxy images - windows

2014-08-13 Thread itpp2012
Francis Daly Wrote: --- > I suspect it is that nobody cares enough about nginx on Windows to > either > write the code, or to encourage someone else to write the code, to > make > things work as well there. (Presumably, if it were simple to get >

Re: Cannot create directory alias (with php pages)

2014-08-13 Thread Pascale Camille
hi! if it can help i just get a 'redirection cycle' error in a *.conf ... return 301 http:// ... but my problem was solved because i found in etc/nginx some default.conf that made cycling check all etc/nginx/ -- Posted via http://www.ruby-forum.com/.

'auto'rewrite link to a folder

2014-08-13 Thread Pascale Camille
Hi all, i am looking for a 'simple rewrite rule' like typing : FOLDER.2maxi.com will point the folder /var/www/FOLDER/ and the folder is create by ngninx user, with winscp. my old vps debian6, nginx-1.2.6+php, used to work fast and perfectly with /etc/nginx/host.d/main.conf : ... server { liste

Cannot create directory alias (with php pages)

2014-08-13 Thread Nikolaos Milas
Hello, I have a hard time trying to make a "directory alias" (in Apache terminology - sorry, I still have a lot to learn on nginx)... I have piwik.example.com, configured to run piwik analytics (it is a php site), and it works fine. I runs under nginx v1.6.1, php-fpm v5.3.3 on an updated Ce

Re: reverse proxy images - windows

2014-08-13 Thread Francis Daly
On Wed, Aug 13, 2014 at 11:14:35AM -0400, gmlopez wrote: Hi there, > Thanks for your reply however I do not see a clue of the problem I've > described :-(. The second sentence says "high performance and scalability should not be expected", which seems to match what you are reporting. The third

Re: Sudden 500 Internal Server Error nginx/1.0.11

2014-08-13 Thread Googlemo
You aren't really helping, as I said, site was working FOR YEARS! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252546,252549#msg-252549 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Sudden 500 Internal Server Error nginx/1.0.11

2014-08-13 Thread Francis Daly
On Wed, Aug 13, 2014 at 03:59:21PM -0400, Googlemo wrote: Hi there, > connect() failed (110: Connection timed out) while connecting to upstream > writev() failed (110: Connection timed out) while sending request to > upstream > recv() failed (104: Connection reset by peer) while connecting to ups

Re: Sudden 500 Internal Server Error nginx/1.0.11

2014-08-13 Thread itpp2012
1.0.11 ?? that went out with the dinosaurs. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252546,252548#msg-252548 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

SPDY being disabled in Chrome (temporary)

2014-08-13 Thread itpp2012
Fyi. https://groups.google.com/forum/#!topic/spdy-dev/qFKgWBq9E3M "Yes, this is expected. Chrome SPDY support will be substantially diminished this week and should be mostly back to normal next week. " Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252547,252547#msg-252547 __

Sudden 500 Internal Server Error nginx/1.0.11

2014-08-13 Thread Googlemo
Site was working fine for years... And suddenly I get this error. tried reboot server - nothing, looking into logs and I see this kinds of errors: connect() failed (110: Connection timed out) while connecting to upstream writev() failed (110: Connection timed out) while sending request to upstream

Re: ECC Certificates and SNI

2014-08-13 Thread Aleksandar Lazic
This is the output of the debug log. ## 2014/08/13 21:29:46 [debug] 915#0: *1 SSL certificate status callback 2014/08/13 21:29:46 [debug] 915#0: *1 SSL NPN advertised 2014/08/13 21:29:46 [debug] 915#0: *1 SSL_do_handshake: -1 2014/08/13 21:29:46 [debug] 915#0: *1 SSL_get_error

ECC Certificates and SNI

2014-08-13 Thread Aleksandar Lazic
Hi. today I have setuped a second SSL VHost with ECC. Why is the default server able to offer TLS 1.2 but the second one not? /usr/sbin/nginx -c /etc/nginx/nginx.conf -V nginx version: nginx/1.7.4 built by gcc 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) TLS SNI support enabled from nginx.org. Globa

Re: reverse proxy images - windows

2014-08-13 Thread gmlopez
Well, I thought I have tried it before without success but I decided to give it a try again and it worked. Obviously something was different. Thanks again for your help! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252520,252543#msg-252543 ___

Re: reverse proxy images - windows

2014-08-13 Thread itpp2012
Try it with IP addresses instead of names. and you are looping back into nginx with your upstream, try a real backend. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252520,252541#msg-252541 ___ nginx mailing list nginx@nginx.org http://mailm

Re: reverse proxy images - windows

2014-08-13 Thread gmlopez
I should have also mentioned that the windows version in which I'm experiencing this problem is Windows 7. Thanks again for your help! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252520,252540#msg-252540 ___ nginx mailing list nginx@nginx

Re: reverse proxy images - windows

2014-08-13 Thread gmlopez
Thanks for your reply however I do not see a clue of the problem I've described :-(. I've already been there and the only thing that concerns me is the statement "...other modules which require shared memory support do not work on Windows Vista and later versions due to address space layout randomi

Re: reverse proxy images - windows

2014-08-13 Thread gmlopez
Sorry, I forgot to add this information. I did try 1.6.1 and 1.7.4 all with the same results. Log entries do not show anything useful apart from the request being received in access log and derived to upstream server. No errors on error log. The configuration is the default nginx config plus one

Change client_body_timeout status code

2014-08-13 Thread carles.sistare
Hi, I'm using client_body_timeout which returns a 408 or 503 status code, not sure. The thing is that I need this to be intercepted, somehow, and to change this status code to some ohter particular code. I wonder if this is even possible. Thanks in advance Carles Posted at Nginx Forum: http://

Re: Override Content-Type header with proxied requests

2014-08-13 Thread manish-ezest
Hello Wandenberg, Thanks for your help. Finally it is working. I included all the mime types in a file and included inside map directive and used it in the location / {} directive with proxy hide parameter like you suggested. --Manish Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239

Re: reverse proxy images - windows

2014-08-13 Thread Valentin V. Bartenev
On Tuesday 12 August 2014 21:26:27 gmlopez wrote: > I've configured a reverse proxy for images on a windows box however it is > not working as expected. > > First time I send a request to the server and I get the image with an http > 200 as expected. > Second hit the request hangs for about a minu

Re: reverse proxy images - windows

2014-08-13 Thread itpp2012
nginx version? configuration? log entries? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252520,252526#msg-252526 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx