Re: least_conn method session issue

2022-10-21 Thread Dr_tux
For example: my dashboard url : https://my_dashboard:8000/#/index/login If such a URL is entered, can I say use ip_hash in reverse proxy? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295575,295581#msg-295581 ___ nginx mailing list -- ng

Re: least_conn method session issue

2022-10-21 Thread Dr_tux
Thanks for your answer. I use the same application on AWS (With ELB support least_conn) and my java app is working properly. Is there any way to solve this issue on Nginx side ? Thanks. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,295575,295580#msg-295580 _

least_conn method session issue

2022-10-21 Thread Dr_tux
I use least_conn in Nginx (reverse proxy), but when I open the application's dashboard, it logs out. It doesn't do this in ip_hash method. What should I do for this? I m stuck in this situation, I can use least_conn on AWS and it 's working properly. Thanks in advance. Posted at Nginx Forum: ht

Nginx rewrite issue

2022-02-20 Thread Dr_tux
Hello, I want to write a rewrite like http://url/index.php?target=server1 and http://url/target=server1 in Nginx and I want to use it in reverse proxy. This is possible in AWS, but how can I do it in Nginx? I tried as follows. Not worked. location = /index.html?target=server1 { proxy_pass htt

Re: Block extension for specified IP address

2021-01-06 Thread Dr_tux
Thanks for your help. I solved it as follows. location ~* \.(exe)$ { proxy_pass http://127.0.0.1:4545; allow 192.168.1.1/32; deny all; } Best. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,290354,290412#msg-290412 _

Block extension for specified IP address

2020-12-31 Thread Dr_tux
Hi Guys, I'm stuck in this. I am open to your suggestions. Thank you. I have a reverse proxy configuration as follows, I want to block exe extensions for requests from here. But it doesn't work. How can I do that ? Example Config: location / { types {

Re: Nginx TCP/UDP Load Balancer

2020-09-01 Thread Dr_tux
When I add the proxy_bind parameter, requests are never forwarded to the server behind. If I do not add it, the output on the turn server is as follows. Output: 96: handle_udp_packet: New UDP endpoint: local addr Turn_Server_IP:3478, remote addr NGINX_IP:59902 stream { upstream stream_backe

Re: Nginx TCP/UDP Load Balancer

2020-09-01 Thread Dr_tux
Thank you very much for your answer, but I tried it :) did not work. I would like to forward client IP address directly to turn servers. But I always see Nginx Ip on Turn Servers. Best. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,289231,289277#msg-289277 _

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 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 __

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