V
V
vipvipvipvipvipvipvipvip2019-03-06 08:03:13
Nginx
vipvipvipvipvipvipvipvip, 2019-03-06 08:03:13

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

1 answer(s)
G
Galdar Turin, 2019-03-06
@Galdar

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 question

Ask a Question

731 491 924 answers to any question