The ngx_stream_access_module module (1.9.2) allows limiting access to certain client addresses. Example Configuration server { ... deny 192.168.1.1; allow 192.168.1.0/24; allow 10.1.1.0/16; allow 2001:0db8::/32; deny all; } The rules are checked in sequence until the first match is f...
ngx_google_perftools_module ngx_http_access_module ngx_http_addition_module ngx_http_api_module ngx_http_auth_basic_module ngx_http_auth_jwt_module ngx_http_auth_request_module ngx_http_autoindex_module ngx_http_browser_module ngx_http_charset_module ngx_http_core_module ngx_http_dav_module ...
ngx_stream_access_module module (1.9.2) allows limiting access to certain client addresses. Example Configurationserver { ... deny 192.168.1.1; allow 192.168.1.0/24; allow 10.1.1.0/16; allow 2001:0db8::/32; deny all; } The rules are checked in sequence until the first match is found...
ngx_stream_access_module模块(1.9.2+)允许通过客户端地址限制访问。示例配置 server { ... deny 192.168.1.1; allow 192.168.1.0/24; allow 10.1.1.0/16; allow 2001:0db8::/32; deny all; } 规则按顺序检查,直到找到第一个匹配。在这个例子中,只允许IPv4网段10.1.1.0/16和192.168.1.0/24中除了192.168...