N
N
netsky8002015-11-29 19:59:08
Nginx
netsky800, 2015-11-29 19:59:08

Is it possible to make nginx not respond to a network request?

Within one machine, nginx is running, which is responsible for many domains. In addition to configs for each domain, there is also a "default". It says "deny all". Thus, if someone knocks through the browser simply by IP, then he sees 403.
Is it possible to make it so that instead of 403 there is no response at all, so that the HTTP request goes nowhere?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene, 2015-11-29
@netsky800

return 444;

S
sim3x, 2015-11-29
@sim3x

serverfault.com/questions/499495/how-to-block-floo...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question