Re: swapiness value to be set for high load nginx server

2017-02-16 Thread omkar_jadhav_20
Kindly assist .. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,272446,272479#msg-272479 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Proxying and static files

2017-02-16 Thread Francis Daly
On Thu, Feb 16, 2017 at 08:26:35AM -0500, epoch1 wrote: Hi there, > I've tried something like the following but can't get it work for each app: > location ~* /(images|css|js|files)/ { > root /home/username/app1/public/; > } > > If I request app1/js/script.js for example it goes to > /home/us

Re: nginx-1.11.10

2017-02-16 Thread Yaroslav Zhuravlev
On 15 Feb 2017, at 19:37, Руслан Закиров wrote: > > On Tue, Feb 14, 2017 at 6:52 PM, Maxim Dounin wrote: > *) Feature: the "proxy_cache_background_update", >"fastcgi_cache_background_update", "scgi_cache_background_update", >and "uwsgi_cache_background_update" directives. >

Re: reverse proxy with TLS-PSK

2017-02-16 Thread Maxim Dounin
Hello! On Wed, Feb 15, 2017 at 08:38:10PM +, Bruno De Maesschalck wrote: > Hey, > > For our application we want embedded devices to access backend websocket/http > services through nginx with TLS/SSL. > The embedded devices are very resource constraint and would benefit from > using TLS-PS

Proxying and static files

2017-02-16 Thread epoch1
Hi I have a number of apps running behind nginx and I want to configure nginx so that is serves static content (js and css files) from the pulic directory of each app directly rather than proxying these requests, for example: myserver.com/app1 dynamic requests proxied to hypnotoad (perl server)

Re: potential null dereference

2017-02-16 Thread Maxim Dounin
Hello! On Thu, Feb 16, 2017 at 11:59:54AM +0800, al...@sbrella.com wrote: > In file /src/http/ngx_http_upstream.c, function > ngx_http_upstream_finalize_request > > > // if u->pipe == NULL, ngx_http_file_cache_free(r->cache, > u->pipe->temp_file); will dereference a null pointer, it's that

Re: Question about proxy_cache_key

2017-02-16 Thread Francis Daly
On Thu, Feb 16, 2017 at 01:08:35PM +0700, Dewangga Bachrul Alam wrote: Hi there, > proxy_cache_key "$uri$is_args$args"; > > location / { > proxy_ignore_headers Cache-Control Expires Set-Cookie; > rewrite (?.*) $capt?$args&view=$mobile break; > } > My question is, the URI > htt

Re: potential null dereference

2017-02-16 Thread B.R. via nginx
If you think you spot a bug, You'd better open a ticket on Trac . You could also talk about development matters on the nginx-devel Mailling List. This is the 'users' ML, centered on use cases/configuration/help with/d