Re: forward proxy config is causing "upstream server temporarily disabled while connecting to upstream" error

2021-03-01 Thread Señor J Onion
Hi Maxim, > > You are trying to connect to an upstream server with an IPv6 > address, yet your system has no IPv6 addresses configured, so > the connection attempt fails. This is not fatal, as nginx is able > to switch to using other addresses of the same server, but > probably a configura

Re: Seeking example of module using theadpool

2021-03-01 Thread dvhh
Vladimir Homutov Wrote: --- > On Mon, Mar 01, 2021 at 04:07:47AM -0500, dvhh wrote: > > Hello, > > > > I have developed a module which perform long running calculations to > produce > > the output, unfortunately blocking the server thread from han

Re: forward proxy config is causing "upstream server temporarily disabled while connecting to upstream" error

2021-03-01 Thread Maxim Dounin
Hello! On Mon, Mar 01, 2021 at 11:35:47AM +0200, Señor J Onion wrote: > I want to set up nginx as a forward proxy - much like Squid might work. First of all, you probably already know it, but to clarify: nginx is not a forward proxy. What you are trying to do is not supported and entirely at

forward proxy config is causing "upstream server temporarily disabled while connecting to upstream" error

2021-03-01 Thread Señor J Onion
I want to set up nginx as a forward proxy - much like Squid might work. This is my server block: server { listen 3128; server_name localhost; location / { resolver 8.8.8.8; proxy_pass http://$http_host$uri$is_args$args; } }

Re: Seeking example of module using theadpool

2021-03-01 Thread Vladimir Homutov
On Mon, Mar 01, 2021 at 04:07:47AM -0500, dvhh wrote: > Hello, > > I have developed a module which perform long running calculations to produce > the output, unfortunately blocking the server thread from handling other > requests. I am looking at using threadpool, unfortunately there is no > exampl

Seeking example of module using theadpool

2021-03-01 Thread dvhh
Hello, I have developed a module which perform long running calculations to produce the output, unfortunately blocking the server thread from handling other requests. I am looking at using threadpool, unfortunately there is no example of using threadpool with module that I could find. I am using