posix_memalign error

2018-07-30 Thread Anoop Alias
I am repeatedly seeing errors like ## 2018/07/31 03:46:33 [emerg] 2854560#2854560: posix_memalign(16, 16384) failed (12: Cannot allocate memory) 2018/07/31 03:54:09 [emerg] 2890190#2890190: posix_memalign(16, 16384) failed (12: Cannot allocate memory) 2018/07/31 04:08:36 [emerg

Re: Modify url at nginx

2018-07-30 Thread Francis Daly
On Mon, Jul 30, 2018 at 02:58:56AM -0400, linsonj wrote: Hi there, > What we want is when client type https://test1.apphost.com , nginx see url > as test1.apphost.com. Before proxy pass request to tomcat7, it should modify > url to https://test.apphost.com so tomcat7 see client url as > test.apph

Re: nginx reuseport duplicate listen options ?

2018-07-30 Thread George
correct meant vhost #1 'but if i had the 3 nginx vhosts where reuseport was used on vhost #3 instead of vhost #1, i get error ' Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280710,280711#msg-280711 ___ nginx mailing list nginx@nginx.org h

nginx reuseport duplicate listen options ?

2018-07-30 Thread George
I know that nginx reuseport is only usable per ip:port pair so I am confused about this error. I have 3 nginx vhosts vhost #1 server { listen 443 ssl http2 default_server backlog=2048 reuseport; } vhost #2 server { listen 80 default_server backlog=2048 reuseport fastopen=256; } vhost #3

Re: nginx -> httpd -> mod_jk -> tomcat

2018-07-30 Thread Aleksandar Lazic
On 30/07/2018 12:44, Giacomo Arru - BETA Technologies wrote: Hi Aleksandar, thank you for your reply. For which particular feature do you need ajp? I have used several tomcats with httpd with ajp but after some horrible errors we switched to http connector. We wanted to use HTTP Connector, a

How to create a module to process a data stream during transfer

2018-07-30 Thread jrmarsha
Hello all, I am looking for a way to do two things in particular. The first is the be able to have a way to direct HTTP POST's to a program's stdin with arguments and to then take its stdout and put that back in the stream being uploaded, and then to apply this to a flex/bison program or module.

Re: proxy_pass to dyndns address

2018-07-30 Thread basti
Thanks a lot. On 30.07.2018 18:02, Richard Stanway wrote: > nginx only resolves hostname once on startup. See this workaround: > > https://github.com/DmitryFillo/nginx-proxy-pitfalls > > On Thu, Jul 26, 2018 at 8:47 PM basti > wrote: > > Hello, > >

Re: proxy_pass to dyndns address

2018-07-30 Thread Richard Stanway
nginx only resolves hostname once on startup. See this workaround: https://github.com/DmitryFillo/nginx-proxy-pitfalls On Thu, Jul 26, 2018 at 8:47 PM basti wrote: > Hello, > > inside a location I have a proxy_pass to a hostname with a dynamic IP > for example > > location ^~ /example/ { >

Re: nginx -> httpd -> mod_jk -> tomcat

2018-07-30 Thread Giacomo Arru - BETA Technologies
Hi Aleksandar, thank you for your reply. > For which particular feature do you need ajp? > I have used several tomcats with httpd with ajp but after some horrible > errors we switched to http connector. We wanted to use HTTP Connector, and set it up. But we couldn't manage to make the app w

Re: Modify url at nginx

2018-07-30 Thread Pratyush Kumar
AddAdd_header host test.apphost.com;___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx