Welcome! Log In Create A New Profile

Advanced

Статика с поддомена

October 28, 2014 07:12AM
Здравствуйте , пробую сделать раздачу статики с поддомена , не получаеться в чем может быть ошибка ? Спасибо
в sites-available создал
static.mysite
server {

server_name static.mysite.ru;

location / {
root /home/www/public/images;

}
}

mysite

server {
set $mysite_root /home/www/mysite/public;
listen mysite.ru;
server_name mysite.ru;
root $mysite_root;
}
Subject Author Posted

Статика с поддомена

Zarus October 28, 2014 07:12AM

Re: Статика с поддомена Attachments

Dmitriy Lyalyuev October 28, 2014 07:18AM

Re: Статика с поддомена

Zarus October 28, 2014 08:02AM

Re: Статика с поддомена Attachments

Dmitriy Lyalyuev October 28, 2014 09:10AM

Re: Статика с поддомена

Валентин Бартенев October 28, 2014 08:08AM

Re: Статика с поддомена

Zarus October 28, 2014 08:26AM

Re: Статика с поддомена

Валентин Бартенев October 28, 2014 09:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready