Re: map directive using $default as origin

2016-08-09 Thread Dewangga Bachrul Alam
Hello steve! On 08/10/2016 10:47 AM, steve wrote: > Hi! > > On 08/10/2016 03:07 PM, Dewangga Bachrul Alam wrote: >> Hello! >> >> I am using module small_light >> (https://github.com/cubicdaiya/ngx_small_light), since the module can't >> detect which browser can process webp transformation, I crea

Re: map directive using $default as origin

2016-08-09 Thread steve
Hi! On 08/10/2016 03:07 PM, Dewangga Bachrul Alam wrote: Hello! I am using module small_light (https://github.com/cubicdaiya/ngx_small_light), since the module can't detect which browser can process webp transformation, I creating a simple directive on nginx to detect chrome and opera only and

map directive using $default as origin

2016-08-09 Thread Dewangga Bachrul Alam
Hello! I am using module small_light (https://github.com/cubicdaiya/ngx_small_light), since the module can't detect which browser can process webp transformation, I creating a simple directive on nginx to detect chrome and opera only and fallback the rest to jpeg/jpg. But, if the origin is not jp

Re: debugging 504 Gateway Time-out

2016-08-09 Thread Richard Stanway
> generated 0 bytes in 640738 msecs I would look into what is causing your backend to take over 10 minutes to respond to that request. On Tue, Aug 9, 2016 at 11:09 PM, Larry Martell wrote: > I just set up a django site with nginx and uWSGI. Some pages I go to > work fine, but other fail with a

debugging 504 Gateway Time-out

2016-08-09 Thread Larry Martell
I just set up a django site with nginx and uWSGI. Some pages I go to work fine, but other fail with a 504 Gateway Time-out. I used to serve this site with apache and wsgi and these same pages worked fine. This is what I see in the nginx error log: 2016/08/09 16:40:19 [error] 17345#0: *1 upstream

Re: Third party module appears to be not loaded

2016-08-09 Thread khav
The nginx-upload-module works well so i guess the issue is with nginx-upload-progress-module Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268865,268870#msg-268870 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/list

Re: Gzip issue with Safari

2016-08-09 Thread Valentin V. Bartenev
On Tuesday 09 August 2016 04:14:39 sphax3d wrote: > Hi, > > I discover the problem reported by mcofko yesterday when I see the nginx > configuration generated by the W3 Total Cache extension for WordPress : > > if ($http_accept_encoding ~ gzip) { > set $w3tc_enc .gzip; > } > if (-f $request_f

Re: can't setup nginx as transparent proxy server

2016-08-09 Thread Francis Daly
On Tue, Aug 09, 2016 at 01:20:46PM +0800, Peng Xie wrote: Hi there, > I am relatively new to nginx. I would like to setup nginx as a > transparent reverse proxy. What, specifically, do you mean by "transparent", here? I think that the nginx proxy_bind config is intended so that the upstream se

Re: Third party module appears to be not loaded

2016-08-09 Thread Francis Daly
On Tue, Aug 09, 2016 at 09:27:06AM -0400, khav wrote: Hi there, > I compile nginx with nginx upload progress module but i still can't use any > of the configuration variables.Nginx throws errors like > > [emerg] unknown directive "track_uploads" That message usually means either that the ngin

Re: Third party module appears to be not loaded

2016-08-09 Thread khav
I even took latest version just to be sure git clone -b master https://github.com/masterzen/nginx-upload-progress-module/ Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268865,268866#msg-268866 ___ nginx mailing list nginx@nginx.org http://

Third party module appears to be not loaded

2016-08-09 Thread khav
Hi , I compile nginx with nginx upload progress module but i still can't use any of the configuration variables.Nginx throws errors like [emerg] unknown directive "track_uploads" nginx version: nginx/1.11.3 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) built with OpenSSL 1.0.2h 3 May

Re: Gzip issue with Safari

2016-08-09 Thread sphax3d
Hi, I discover the problem reported by mcofko yesterday when I see the nginx configuration generated by the W3 Total Cache extension for WordPress : if ($http_accept_encoding ~ gzip) { set $w3tc_enc .gzip; } if (-f $request_filename$w3tc_enc) { rewrite (.*) $1$w3tc_enc break; } It doesn’