Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
disable_symlinks + FreeBSD 7.*
- To: nginx-ru@xxxxxxxxx
- Subject: disable_symlinks + FreeBSD 7.*
- From: "alexstream" <nginx-forum@xxxxxxxx>
- Date: Thu, 26 Jul 2012 10:20:40 -0400 (EDT)
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tigger.jlkhosting.com; s=x; h=From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=lZ86H6ELUMCXHpSMwQZ0df1ixA33rz5RYl4ti9Gec2E=; b=ovLms6MFPyyFRc0Z1vYwrIoBGejeG8b89D2Ae5vl4bmu/bqhQY67y+XMovSujAlLaAQ9PwQSl67jooZ5ZVJIwoQBFNtc1d4npf0lBU99tLCo/zwgQW/eQpvmfZMwoZJp;
Под FreeBSD 7.4 (amd64/i386) при установке
последней стабильной версий nginx,
доступной в портах (nginx-1.2.2,1) не работает
директива disable_symlinks. Ошибка:
# /usr/local/etc/rc.d/nginx start
Performing sanity check on nginx configuration:
nginx: [emerg] unknown directive "disable_symlinks" in
/usr/local/etc/nginx/nginx.conf:59
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed
Starting nginx.
nginx: [emerg] unknown directive "disable_symlinks" in
/usr/local/etc/nginx/nginx.conf:59
что приводит к полной парализации
работы веб-сервиса.
проблемная строка в конфиге nginx:
disable_symlinks if_not_owner from=/home/test1/data/www/test.ru;
версия используемого ПО:
OS: FreeBSD 7.4 amd64
# /usr/local/sbin/nginx -v
nginx version: nginx/1.2.2
nginx собран из портов. использовались
следующие опции:
# /usr/local/sbin/nginx -V
nginx version: nginx/1.2.2
built by gcc 4.2.1 20070719 [FreeBSD]
TLS SNI support enabled
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
--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-pcre --with-http_ssl_module
Проблема стабильно повторяется на FreeBSD
7.4. На ОС FreeBSD 8.3 и 9.0 такой проблемы с
теми же версиями ПО нет.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,229003,229003#msg-229003
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|