constant X-Cache-Status:MISS on woff files

2017-11-27 Thread haloween
I have a problem with cacheing. Following location in my config - perfectly handles all the extensions jpeg, jpg and stuff. location ~* \.(?:ico|pdf|flv|jpg|jpeg|png|gif|swf|x-html|woff|woff2|ttf|eot|map)$ { gzip off; expires 30d; log_not_found off; access_log off; add_header Cache-Co

Re: ngx_msec_t is 32bit on ARM

2017-11-27 Thread Maxim Dounin
Hello! On Sat, Nov 25, 2017 at 07:44:54PM -0500, teknopaul wrote: > I'm trying to compile nginx on for a raspberry pi > > src/core/ngx_times.c > > time_t sec; > ngx_uint_t msec; > struct timeval tv; > > ngx_gettimeofday(&tv); > sec = tv.tv_sec; > msec

Re: ngx_http_upstream_test_next u->peer.tries > 1

2017-11-27 Thread Maxim Dounin
Hello! On Fri, Nov 24, 2017 at 03:23:30AM -0500, crasyangel wrote: > assume all servers always fail in upstream > > nginx would call ngx_http_upstream_next when u->peer.tries > 1, and call > ngx_http_upstream_finalize_request directly when u->peer.tries == 1 > > it would not pass NGX_PEER_FAIL

Re: 400 bad requests now returning http headers? ( crossdomain.xml )

2017-11-27 Thread abyvatel
Hello, this is possible too late but may useful I have'nt found any solution and just recompiled the Nginx with a little patch i've changed file ./src/http/ngx_http_request.c in function ngx_http_create_request: r->http_version = NGX_HTTP_VERSION_10 to r->http_version = NGX_HTTP_VERSION_9

Re: cts-submit

2017-11-27 Thread Ángel
On 2017-11-26 at 14:17 +0100, A. Schulze wrote: > Hello, > > experiments with nginx-ct ¹) show that I need a tool to submit a certificate > to some public logs. > cts-submit ²) seems useful. But it require me to install php on every host :-/ > > I know there are also python implementations. but

Re: cts-submit

2017-11-27 Thread Richard Stanway via nginx
You can use ct-submit, once built the binary can be copied and run on any system without any dependencies. https://github.com/grahamedgecombe/ct-submit On Mon, Nov 27, 2017 at 10:21 PM, Ángel wrote: > On 2017-11-26 at 14:17 +0100, A. Schulze wrote: > > Hello, > > > > experiments with nginx-ct ¹