我对服务器块进行了简单的配置,仅允许我的ip出于开发目的访问上游服务器,例如:
server {
server_name: the.server.name;
root: /path/to/root;
allow 123.123.123.123;
deny all;
location / {
proxy_pass: localhost:8888;
proxy_whatever: the.other.settings;
}
}
问题是我仍然在日志中看到一些IP正在传递给上游服务器! 有什么问题吗?