RE: 2 locations, 2 _different_ cache valid settings, but same cache & pass-through

2020-03-27 Thread Reinis Rozitis
> What I need is a cache of data that is aware that the validity of its data is > dependent on who - foo or bar - is retrieving it. In practice, this means that > requests from both foo and bar may be responded to with cache data from > the other's previous request, but most likely the cache will b

Re: 2 locations, 2 _different_ cache valid settings, but same cache & pass-through

2020-03-27 Thread randyorbs
> What is the thing that you want to achieve? I have two clients, foo and bar. I charge foo to hit /foo and bar to hit /bar at different rates/costs. They've both agreed that the data can be stale, but how stale is different for each - 5 minutes for foo, 10 minutes for bar. Very often, foo and

Re: Nginx Truncating Logs

2020-03-27 Thread Bee.Lists
Look at logrotate, as it will reduce file size. > On Mar 27, 2020, at 12:51 PM, waqas9980 wrote: > > Hi, > I am using Java application with NGINX. When my request have large size > response body, nginx truncates that logs in access.log file. I have used > proxy_buffering off; but that didn't w

Re: NGINX on windows

2020-03-27 Thread Maxim Dounin
Hello! On Fri, Mar 27, 2020 at 11:39:28AM -0400, Faulteh wrote: > I'm just wondering what the current limitations on worker_connections are in > Windows? Is it 1024 as I can see in some discussions or is it able to be set > higher? Since nginx 1.15.9 you can use higher number of worker_connectio

Re: NGINX on windows

2020-03-27 Thread Kevin Worthington
I think it's 1024. Best regards, Kevin -- Kevin Worthington kworthing...@gmail.com https://kevinworthington.com/ https://twitter.com/kworthington On Fri, Mar 27, 2020 at 12:58 PM Faulteh wrote: > This doesn't answer my question. > > Posted at Nginx Forum: > https://forum.nginx.org/read.php?2,2

Re: NGINX on windows

2020-03-27 Thread Faulteh
This doesn't answer my question. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,287488,287492#msg-287492 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Nginx Truncating Logs

2020-03-27 Thread waqas9980
Hi, I am using Java application with NGINX. When my request have large size response body, nginx truncates that logs in access.log file. I have used proxy_buffering off; but that didn't work. Kindly suggest. NGINX version : 1.10.3 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,287490,

Re: NGINX on windows

2020-03-27 Thread Kevin Worthington
I offer 32-bit and 64-bit pre-compiled MSI installer versions of Nginx for Windows for free download here: https://kevinworthington.com/nginx-for-windows/ Nginx.org also has supported binaries for free download. Best regards, Kevin -- Kevin Worthington kworthing...@gmail.com https://kevinworthing

Re: NGINX on windows

2020-03-27 Thread itpp2012
Look at this version, per-compiled, high performance http://nginx-win.ecsds.eu/ Posted at Nginx Forum: https://forum.nginx.org/read.php?2,287488,287489#msg-287489 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

NGINX on windows

2020-03-27 Thread Faulteh
HI All, I'm just wondering what the current limitations on worker_connections are in Windows? Is it 1024 as I can see in some discussions or is it able to be set higher? Thanks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,287488,287488#msg-287488 _

Re: svg broken !

2020-03-27 Thread Francis Daly
On Fri, Mar 27, 2020 at 02:32:07PM +0500, shahzaib mushtaq wrote: Hi there, > From ORIGIN (WORKING) > https://i.imgur.com/4EJ8VfM.png > > From Edge (Broken SVG) > https://i.imgur.com/MZ6HAsU.png Could you include the words as words, rather than as a link to a picture of words? That will make i

Re: svg broken !

2020-03-27 Thread shahzaib mushtaq
>From ORIGIN (WORKING) https://i.imgur.com/4EJ8VfM.png >From Edge (Broken SVG) https://i.imgur.com/MZ6HAsU.png On Fri, Mar 27, 2020 at 1:34 PM Francis Daly wrote: > On Wed, Mar 25, 2020 at 07:50:34PM +0500, shahzaib mushtaq wrote: > > Hi there, > > > We've setup Nginx as Edge node. Website is r

Re: svg broken !

2020-03-27 Thread Francis Daly
On Wed, Mar 25, 2020 at 07:50:34PM +0500, shahzaib mushtaq wrote: Hi there, > We've setup Nginx as Edge node. Website is running fine from edge (caching > & proxying requests to origin as required) . However, proxying requests for > .svg showing the following error while origin ndoe loads it fine

Re: Nginx load balancing to keep sessions between IIS servers

2020-03-27 Thread Francis Daly
On Tue, Mar 24, 2020 at 06:01:35PM -0400, robe007 wrote: Hi there, > I have set up a load balancer with NGINX for two IIS web servers that works > with sessions. What is "a session"? The answer to that may make it clear how to achieve what you want. > upstream mybalancer { > ip_hash; >

Re: 2 locations, 2 _different_ cache valid settings, but same cache & pass-through

2020-03-27 Thread Francis Daly
On Tue, Mar 24, 2020 at 11:15:59PM +, randyorbs wrote: Hi there, > 4. use _different_ cache valid settings... > location /foo { >proxy_pass "http://myhost.io/go";; >proxy_cache shared_cache; >proxy_cache_valid any 5m; > } > location /bar { >proxy_pass "http://myhost.io/go";; >