Answer the question
In order to leave comments, you need to log in
How to restrict requests by port for some URIs?
Hello.
It is necessary to restrict requests by port for some URIs.
Example:
site.ru:2323 don't accept requests on port
site.ru:2323/ru/test?id=2 accept requests on port
Possible to do it with NGINX?
Answer the question
In order to leave comments, you need to log in
it is possible to do it through iptables, it is even possible to close access by port, but if the server initiates a request, it will wait for a response.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question