Re: Dynamic module is not binary compatible

2018-07-16 Thread ashuai
I found a solution https://github.com/apache/incubator-pagespeed-ngx/issues/1440#issuecomment-315520779 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280541,280542#msg-280542 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/

Dynamic module is not binary compatible

2018-07-16 Thread ashuai
Hello! I want to add dynamic module for nginx , but I got "module is not binary compatible". environment: Ubuntu 16.04 Nginx 1.12.1 (apt-get) Nginx itself parameters: nginx -V nginx version: nginx/1.12.1 built with OpenSSL 1.0.2g 1 Mar 2016 TLS SNI support enabled configure arguments: --with-cc

UDP load balancing and ephemeral ports

2018-07-16 Thread bwmetc...@gmail.com
Hello, A couple of questions regarding UDP load balancing. If a UDP listener is configured to expect a response from its upstream nodes, is it possible to have another IP outside of the pool of upstream nodes send a response to the ephemeral port where nginx is expecting a response? I'm pretty s

Re: SSL errors, verbosity level

2018-07-16 Thread Frank Liu
Thanks Maxim and those two patches are now merged upstream: http://mailman.nginx.org/pipermail/nginx-devel/2018-July/011287.html http://mailman.nginx.org/pipermail/nginx-devel/2018-July/011288.html On Fri, Jul 13, 2018 at 4:13 AM, Richard Stanway wrote: > I'd also like to voice support for havi

Re: redirect based on file content

2018-07-16 Thread Dmitry Volyntsev
You can try to use njs here: http://nginx.org/en/docs/http/ngx_http_js_module.html http://nginx.org/en/docs/njs/njs_api.html#http - more about r object. nginx.conf: http { js_include http.njs; ... server { listen 9000; location / {

Re: redirect based on file content

2018-07-16 Thread itpp2012
This can be done with Lua but each disk access is a blocking call to nginx, your design should include caching of such calls (access disk once every 100 calls or after 60 seconds). Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280529,280533#msg-280533

redirect based on file content

2018-07-16 Thread Torsten Curdt
I want to have files in the filesystem that specify the response code and redirect location instead of relying on the nginx configuration for it. Imagine a file foo.ext looking like: 301 https://some.host.com/foo.bla On a GET of foo.ext it should result in a 301 to https://some.host.com/foo.bl

env TZ : timezone setting

2018-07-16 Thread kirkboyd
Has this been addressed with a new release? https://forum.nginx.org/read.php?2,214494,214536#msg-214536 "env TZ=Asia/Shanghai". It still does not work for me with nginx 1.13.x on CentOS 7 thanks, Kamalkishor. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280527,280527#msg-280527