Websocket security

2017-04-05 Thread Christian Schwaderer
Dear all, I ran NodeJS as a kind of Webapplication Server serving an AngularJS frontend. They communicate solely over WebSockets, using the SailsJS implementation of Socket.IO. Between frontend (client) and the NodeJS backend, sits nginx as a proxy, configured like so: |server { listen 1337

Re: Memory issue

2017-04-05 Thread JohnCarne
It looks like i don't speak english properly to be understood, others will open a thread on this issue, and may be explain better Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273274,273437#msg-273437 ___ nginx mailing list nginx@nginx.org

Re: Memory issue

2017-04-05 Thread JohnCarne
We described it properly when opening ticket, I reformulate : Usually, 1 nginx worker process consumes 1.16-2% of RAM maximum on this server, and it remain stable. For some days after nginx upgrades, every overnight, during daily stat generation process of cpanel which happens on overnight like se

Conditional expires in location

2017-04-05 Thread phwaap
Hi everyone, I have a generic location that servers many others via rewrite/proxy_pass. The generic location calls expires by including a file which disables caching. I have new location with its own expiration logic that needs to bypass this. What is the best way to do this? # Generic service

Re: proxy_cache_background_update after cache expiry

2017-04-05 Thread Maxim Dounin
Hello! On Wed, Apr 05, 2017 at 07:32:01AM -0400, IgorR wrote: > Hello, > > I'm trying to configure nginx to use proxy_cache_background_update but it > seems like after expiry it still waits for the full roundtrip to the > backend, returning a MISS in X-Cache-Status. What am I MISSing? > > I'm u

Re: Memory issue

2017-04-05 Thread Maxim Dounin
Hello! On Wed, Apr 05, 2017 at 01:02:15AM -0400, JohnCarne wrote: > Uprgraded to last nginx version : > memory still increase it seems You may have better luck describing your issue: what you do, what you see as a result, and why you think this is an issue. Posting messages saying "I still ha

Re: proxy_cache_background_update after cache expiry

2017-04-05 Thread Jean-Paul Hemelaar
Hi, I have a similar issue: http://mailman.nginx.org/pipermail/nginx/2017-March/053198.html I noticed (using tcpdump) that all data except the last package is send immediately. Can you verify it that's happening in your case as well? JP On Wed, Apr 5, 2017 at 1:32 PM, IgorR wrote: > Hello, >

Re: minor manpage fix

2017-04-05 Thread Ruslan Ermilov
On Wed, Apr 05, 2017 at 11:16:27AM +0200, A. Schulze wrote: > hello > > by buildsystem warn about a minor glitch in nginx.8 > patch attached "\-" is a "minus sign in the current font", while "-" is a dash character, which is the correct character for the utility arguments. Applying this patch an

proxy_cache_background_update after cache expiry

2017-04-05 Thread IgorR
Hello, I'm trying to configure nginx to use proxy_cache_background_update but it seems like after expiry it still waits for the full roundtrip to the backend, returning a MISS in X-Cache-Status. What am I MISSing? I'm using nginx 1.11.12 under ubuntu 14.04 running inside docker, but hopefully thi

Content mismatch random error !!

2017-04-05 Thread shahzaib mushtaq
Hi, Sometimes we encounter Content mismatch error in browser on website & refreshing the page fix this issue. The full error is : http://prntscr.com/esp3jr Here is nginx.conf file : https://pastebin.com/VF5L1xXy Some people on different forums saying its due to proxy cache but we're not using an

minor manpage fix

2017-04-05 Thread A. Schulze
hello by buildsystem warn about a minor glitch in nginx.8 patch attached Andreas Description: fix minor manpage errors Author: A. Schulze --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Index: nginx-1.11.13/man/nginx.8 ==