Re: RE: How do I add text to a response from a remote URL in NGINX?

2020-08-31 Thread moyamos
Thanks for the reply. :-) I have added a location as follows: location ~/src/(.*) { proxy_pass http://externalserver.com; } It works when the entire URL is loaded in a browser. However, in the "autoindex" page, "Object Moved This document may be found _here_" show up before and after the

transforming static files

2020-08-31 Thread Mark Lybarger
i have a bunch of files on a local filesystem (ok, it's NAS) that I serve up using an nginx docker image, just pointing the doc root to the system i want to share. that's fine for my xml files. the users can browse and see then on the filesystem. i also have some .bin files that can be converted

Re: repeated reloads lead to unresponsive server

2020-08-31 Thread james.anderson
we found it to be impractical to move from ubuntu's released nginx version in order to avoid that the perl module crashed on _every_ reload. i was unaware, that the presence of the nchan module could cause an issue if one did not use it, but will disable it an see if that helps. Posted at Nginx Fo

Re: ת����[PATCH] HTTP/2: check stream identifier other than 0 for GOAWAY frame

2020-08-31 Thread Sergey Kandaurov
> On 26 Aug 2020, at 11:57, Xu Yang wrote: > > Hi all, >This is a patch for HTTP/2 GOAWAY frame process, please refer to the > detail. > thanks. Please see a more complete patch below. # HG changeset patch # User Sergey Kandaurov # Date 1598889483 -10800 # Mon Aug 31 18:58:03 2020

Re: repeated reloads lead to unresponsive server

2020-08-31 Thread Thomas Ward
Do you actually use NCHAN for anything?  If you are not actively using nchan, you should consider simply removing `libnginx-mod-nchan` Note also this is a third party module, so it's not necessarily 'endorsed' by NGINX Upstream per se.  Also, Debian is *ancient* with its nginx version and modules,

repeated reloads lead to unresponsive server

2020-08-31 Thread james.anderson
we observe that after several days in service, where the server is reloaded several hundred times a day, it eventually stops responding. a reload completes, but still all connections time out. a restart corrects the issue. is there a limit to the number of times a server permits a reload before i

RE: How do I add text to a response from a remote URL in NGINX?

2020-08-31 Thread Reinis Rozitis
> I have the following server in NGINX and it works fine. But, I am wondering is > it possible to add text to a response from a remote URL where hosts my > before_body.txt and after_body.txt? Is there any way to tackle this? Is it > possible at all? According to documentation (http://nginx.org/en

Nginx TCP/UDP Load Balancer

2020-08-31 Thread Dr_tux
Hi, I have 2 turn server. I would like to use Nginx for load balancer them. But I have a problem. When I use the AWS ELB it works perfectly. If I try with Nginx, I got an error. Remote addr should be client_ip. Nginx, send itself IP address to coturn server. There are 2 output from AWS ELB and

Re: Nginx reverse proxy redirect

2020-08-31 Thread Dr_tux
That's perfect. Thank you. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,289072,289230#msg-289230 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: NGINX PHP FPM - Download prompt when accessing directories

2020-08-31 Thread Francis Daly
On Sun, Aug 30, 2020 at 11:15:03PM +, Laura Smith wrote: Hi there, > > > location ^~ /administrator/ { > > > > will handle all requests that start with /administrator/; that location > > does not do any special handling of php requests; all it will do is > > serve files from the filesystem.

How do I add text to a response from a remote URL in NGINX?

2020-08-31 Thread moyamos
Hi, I have the following server in NGINX and it works fine. But, I am wondering is it possible to add text to a response from a remote URL where hosts my before_body.txt and after_body.txt? Is there any way to tackle this? Is it possible at all? server { listen 80; root /storage/path;