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 reverse proxy redirect

2020-08-14 Thread Francis Daly
On Thu, Aug 13, 2020 at 05:50:28PM -0400, Dr_tux wrote: Hi there, > Thank you very much for this solution. but I have 3 mp3 servers. How can I > share requests equally? With 301, I can only send a request to a single ip > address. With 301, you invite the client to send a request to a single hos

Re: Nginx reverse proxy redirect

2020-08-13 Thread Dr_tux
Thank you very much for this solution. but I have 3 mp3 servers. How can I share requests equally? With 301, I can only send a request to a single ip address. Best. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,289072,289104#msg-289104 __

Re: Nginx reverse proxy redirect

2020-08-13 Thread Francis Daly
On Wed, Aug 12, 2020 at 02:16:50AM -0400, Dr_tux wrote: Hi there, > I have a Nginx reverse proxy. How can I redirect it to the real server URL > when I download mp3 files in the reverse proxy. Make a location{} that handles mp3-file requests, and "return 301" (or otherwise redirect) there. > no

Nginx reverse proxy redirect

2020-08-11 Thread Dr_tux
Hi guys, I have a Nginx reverse proxy. How can I redirect it to the real server URL when I download mp3 files in the reverse proxy. For example: normal reverse proxy request goes to backend node, but If the url contains mp3, it redirects to another server. Thanks. Posted at Nginx Forum: https