allow IPv6
Vladislav V. Prodan
universite на ukr.net
Чт Фев 3 02:26:31 MSK 2011
Покажите, плиз синтаксис использования.
А то эти варианты не канают.
location /nginx_status {
...
allow [2001:XXX:ZZ:TTT::2]/64;
allow 2001:XXX:ZZ:TTT::2/64;
allow [::];
...
}
nginx: [emerg] invalid parameter "[2001:XXX:ZZ:TTT::2]/64" in
/usr/local/etc/nginx/status.conf:13
nginx: [warn] low address bits of 2001:XXX:ZZ:TTT::2/64 are meaningless
in /usr/local/etc/nginx/status.conf:14
nginx: [emerg] invalid parameter "[::]" in
/usr/local/etc/nginx/status.conf:15
# nginx -V
nginx: nginx version: nginx/0.9.4
nginx: configure arguments: --prefix=/usr/local/etc/nginx
--with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf
--sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx-error.log --user=www --group=www
--with-ipv6 --http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-scgi-temp-path=/var/tmp/nginx/scgi_temp
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
--http-log-path=/var/log/nginx-access.log --with-http_gzip_static_module
--with-http_stub_status_module --with-http_sub_module --with-pcre
--
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vlad11 на jabber.ru
Подробная информация о списке рассылки nginx-ru