Answer the question
In order to leave comments, you need to log in
How to close access to the proxied site?
If you make a site proxy from one server to port 80 in another server. Do I need to close access to the proxy on port 80? How to do it? Is it possible to deny access not from the IP of the main host using NGINX?
Will this work correctly?
deny all;
allow $realip_remote_addr;
set_real_ip_from XXX.XXX.XXX.XXX;
real_ip_recursive on;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question