Re: HTTP/2 Reverse Proxy

2016-02-29 Thread hheiko
As far as I know HTTP2 is only for client-server communication in Nginx. Server to server connections remain at HTTP 1.1 Regards, Heiko Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264954,264956#msg-264956 ___ nginx mailing list nginx@ngi

HTTP/2 Reverse Proxy

2016-02-29 Thread Russel_
I have Nginx (1.9.12) setup and working fine with HTTP/2 on host-a. I can establish HTTP/2 connections to host-a with any web browser. I also have HTTP/2 and proxypass setup on host-b. I can proxy HTTP/1.1 requests from host-b to host-a with any web browser. I can also establish HTTP/2 connections

Solution - Re: Problem with proxy cache misses

2016-02-29 Thread CJ Ess
Found it! The solution was in a a mailing list item from 2012. You have to turn proxy buffering on in order for the proxy cache to work. I'm caching like a champ now. There probably ought to be a warning about that someplace, or it should be in the docs someplace. On Mon, Feb 29, 2016 at 2:03 PM

Re: Problem with proxy cache misses

2016-02-29 Thread CJ Ess
The catch-all entry works and don't conflict with the = /. That solves my second problem, thank you! On Mon, Feb 29, 2016 at 3:32 PM, Wandenberg Peixoto wrote: > The location = / is a exactly match. > To execute a "catch all" returning a 404 you can do a > > location / { > return 404; > } > O

Re: Problem with proxy cache misses

2016-02-29 Thread Wandenberg Peixoto
The location = / is a exactly match. To execute a "catch all" returning a 404 you can do a location / { return 404; } On Feb 29, 2016 16:15, "Payam Chychi" wrote: > Look at your proxy cache path... (proxy_cache_path /var/www/test_cache) > Are you sure the path exists and had proper perms/owner

Re: Problem with proxy cache misses

2016-02-29 Thread CJ Ess
Yes, it does exist: stat /var/www/test_cache File: `/var/www/test_cache' Size: 4096Blocks: 8 IO Block: 4096 directory Device: 802h/2050d Inode: 22195081Links: 2 Access: (0700/drwx--) Uid: ( 497/ nginx) Gid: (0/root) Access: 2016-02-29 15:14:19

Re: Problem with proxy cache misses

2016-02-29 Thread Payam Chychi
Look at your proxy cache path... (proxy_cache_path /var/www/test_cache)Are you sure the path exists and had proper perms/ownership? Payam On Feb 29, 2016, 11:03 AM -0800, CJ Ess, wrote: > Hello! I'm testing out a new configuration and there are two issues with the > proxy cacheing feature I'm

Problem with proxy cache misses

2016-02-29 Thread CJ Ess
Hello! I'm testing out a new configuration and there are two issues with the proxy cacheing feature I'm getting stuck on. 1) Everything is a cache miss, and I'm not sure why: My cache config (anonymized): ... proxy_cache_path /var/www/test_cache levels=2:2 keys_zone=TEST:32m inactive=365d max_si

nginx client authentication with 2 intermediate CAs

2016-02-29 Thread hatlam
I'm trying to get nginx to verify client certificate issued through the following chain, with self-signed root: Root CA => Signing CA => Subordinate CA => Client cert. I installed root_CA.crt on the server, and on the client side, the certs are concatenated with cat client.crt subordinate_CA.crt s

Problems with nginx accepting tls connections

2016-02-29 Thread jonkeane
Apologies if this is not solely connected to nginx, but I think I've narrowed it down to the connection with nginx, and how it is handling TLS connections. I'm attempting to setup nginx to receive connections from an amazon dash button (using information from http://blog.nemik.net/2015/08/dash-butt

Request processing rate and reverse proxy

2016-02-29 Thread Guillaume Charhon
Hello, I have setup nginx 1.9.3 as a reverse proxy [1] with a rate limitation per server [2]. The rate limitation does not work on this scenario. The rate request limitation works well if I use nginx as a normal webserver (for example to serve the default welcome page). I have attached my configu

Re: Problem with error file

2016-02-29 Thread Jim Ohlstein
Hello, On 2/29/16 10:24 AM, Ing. Ricardo SIFON wrote: Maxim, How should I set nginx to avoid writing in the "off" file? You can set error logging to a different level. See http://nginx.org/en/docs/ngx_core_module.html#error_log. Also, since it seems to be one file, you can use the "log_no

Re: Problem with error file

2016-02-29 Thread Maxim Dounin
Hello! On Mon, Feb 29, 2016 at 12:24:02PM -0300, Ing. Ricardo SIFON wrote: > How should I set nginx to avoid writing in the "off" file? Specify different filename using the "error_log" directive. See details in the documentation here: http://nginx.org/r/error_log -- Maxim Dounin http://ngin

RE: Problem with error file

2016-02-29 Thread Ing. Ricardo SIFON
Maxim, How should I set nginx to avoid writing in the "off" file? Regards, Ricardo -Mensaje original- De: nginx [mailto:nginx-boun...@nginx.org] En nombre de Maxim Dounin Enviado el: lunes, 29 de febrero de 2016 11:49 Para: nginx@nginx.org Asunto: Re: Problem with error file Hello!

Re: Antwort: PUT/POST files to akamai CDN

2016-02-29 Thread Reinis Rozitis
I want to upload all files continuously generated by the rtmp mpeg dash module in a specific folder to another server. The upload needs to be processed with the HTTP POST function. If i would do it manualy with curl, i would use something like: curl -v -d "123456789" http://example.com/path/to

Re: Image filter module

2016-02-29 Thread Andrew Hutchings
Hi Ayman, The module uses the GD library underneath which doesn't support EXIF rotation (or really any of EXIF). In addition the module will strip off the EXIF data if it is more than 5% of the image size. If you wish to preserve the EXIF you may need to make a microservice to do the resizin

Re: Problem with error file

2016-02-29 Thread Maxim Dounin
Hello! On Mon, Feb 29, 2016 at 11:39:04AM -0300, Ing. Ricardo SIFON wrote: > Maxim, > > I'm Sorry, I have made a mistake. > > As you say, the line called: error_log is in "off" in config file. > > The file that I have problems is called: off (without extensión) in > C:\nginx. So no problem he

RE: Problem with error file

2016-02-29 Thread Ing. Ricardo SIFON
Maxim, I'm Sorry, I have made a mistake. As you say, the line called: error_log is in "off" in config file. The file that I have problems is called: off (without extensión) in C:\nginx. Its content is: ... [error] 6072#0: *27 open() "/cygdrive/c/nginx/html/robots.txt" failed (2: No such file

Image filter module

2016-02-29 Thread Ayman Al-Shorman
Hello, I just installed image filter module for resizing images. It worked as expected but we faced an issue that this module doesn't respect EXIF so some images are being rotated to the original state then nginx resize it. Any idea how to fix this? Thanks Ayman Sent from my iPhone __

Re: enable reuseport then only one worker is working?

2016-02-29 Thread Maxim Dounin
Hello! On Sun, Feb 28, 2016 at 08:52:12AM -0500, meteor8488 wrote: > I just upgrade Nginx from 1.8 o 1.9 on my FreeBSD box. > After I enabled reuseport on my server, it seems now there is one worker > always takes up 100% CPU and all the rest workers are use less than 1% CPU. > In the day time it

Re: Problem with error file

2016-02-29 Thread Maxim Dounin
Hello! On Mon, Feb 29, 2016 at 09:47:30AM -0300, Ing. Ricardo SIFON wrote: > In the root directory of nginx (c:\nginx\), a file called "error" is > generated. The size of this file grows too, causing the hard drive runs out > of free space. > > Attachment my config file of nginx (nginx.conf). A

Re: Problem with error file

2016-02-29 Thread itpp2012
It would be more helpful to see whats in this error logfile. Don't attach files here, use pastebin or the sorts. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264925,264927#msg-264927 ___ nginx mailing list nginx@nginx.org http://mailman.ng

Antwort: PUT/POST files to akamai CDN

2016-02-29 Thread florian . hesse
Hello, i will start a second attmept for my question. I want to upload all files continuously generated by the rtmp mpeg dash module in a specific folder to another server. The upload needs to be processed with the HTTP POST function. If i would do it manualy with curl, i would use something lik

Problem with error file

2016-02-29 Thread Ing. Ricardo SIFON
Hi all! I have installed NGINX v1.8.0 with PHP v 5.2.6 in Windows 7 (64 bits). In the root directory of nginx (c:\nginx\), a file called "error" is generated. The size of this file grows too, causing the hard drive runs out of free space. Attachment my config file of nginx (nginx.conf)

SNI host with non SSL wrong cert

2016-02-29 Thread basti
Hello, I have nginx installed with multiple domainnames and multiple ssl-hosts use SNI. Now I add an other vhost with non-ssl server entry like example.com. when I try to use https://example.com/ I get a cert from an other vhost. I found this "solution" to "catch all" | | |server { listen 443 ss