Open david92rl opened 7 years ago
It‘s not supported in the 'tcp' block.
So, is there any way to deny connections in the tcp block when the server_name doesn't match?
any solutions?
No, it should not be use return
in this module, It's just a tcp proxy
module.
Omar Basem @.***> 于2021年6月26日周六 下午6:39写道:
any solutions?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yaoweibin/nginx_tcp_proxy_module/issues/148#issuecomment-868982580, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABFRGJKWQVV7PCDZYSPYN3TUWU5RANCNFSM4CWJQPKQ .
Hi, I'm trying to create a default TCP server to send a 444 code but I'm getting this message:
I've configured nginx with the following:
And my nginx.conf (line 48 is inside tcp block):
I'm not sure if I'm missing something in the configure process.
Thanks