Welcome! Log In Create A New Profile

Advanced

1.1.15 - картинки.

February 17, 2012 05:44PM
Собно собрал nginx, с такими параметрами:
./configure --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-debug --with-http_dav_module --with-http_flv_module --with-http_geoip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_realip_module --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-http_xslt_module --with-ipv6 --with-sha1=/usr/include/openssl --with-md5=/usr/include/openssl --with-mail --with-mail_ssl_module

Вроде вде ок. Но при добавлении в конфиг disable_symlinks on; , отпадают картинки на сайтах, при прямом обращении на картинку, получаю 403
На тазике ISP manager

локейшен статики такой:
location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar)$ {
root /var/www/username/data/www/site.ru;
access_log /var/www/httpd-logs/site.ru.access.log ;
}

В чем может быть проблема?
Subject Author Posted

1.1.15 - картинки.

adept February 17, 2012 05:44PM

Re: 1.1.15 - картинки.

Андрей Василишин February 17, 2012 11:28PM

Re: 1.1.15 - картинки.

Валентин Бартенев February 18, 2012 04:46AM

Re: 1.1.15 - картинки.

mgnhost February 18, 2012 08:28AM

Re: 1.1.15 - картинки.

adept February 19, 2012 05:46PM

Re: 1.1.15 - картинки.

Andrew Alexeev February 19, 2012 06:06PM

Re: 1.1.15 - картинки.

mgnhost February 20, 2012 07:29AM

Re: 1.1.15 - картинки.

Валентин Бартенев February 20, 2012 02:52AM

Re: 1.1.15 - картинки.

mgnhost February 20, 2012 07:35AM

Re: 1.1.15 - картинки.

Валентин Бартенев February 20, 2012 09:18AM

Re: 1.1.15 - картинки.

mgnhost February 20, 2012 02:40PM

Re: 1.1.15 - картинки.

Валентин Бартенев February 20, 2012 02:58PM

Re: 1.1.15 - картинки.

Alex Vorona February 20, 2012 03:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 254 on July 05, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready