make nginx only listen to localhost
Gendouki Office
office at gendouki.com
Sat Feb 21 12:54:05 MSK 2009
I am trying to make nginx only accessible by localhost:8080
i have tried doing
server {
listen 127.0.0.1:8080;
server_name _;
...
however it still accepts requests from external ip's
how can i stop this?
i have also tried
allow 127.0.0.1;
deny all;
but this seems to deny localhost as well
running latest stable 0.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090221/926f3384/attachment.html>
More information about the nginx
mailing list