Welcome! Log In Create A New Profile

Advanced

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

Dmitriy Lyalyuev
October 28, 2014 07:18AM
Добрый день.

Симлинки в sites-enabled сделали?


28.10.2014 13:12, Zarus пишет:
> Здравствуйте , пробую сделать раздачу статики с поддомена , не получаеться в
> чем может быть ошибка ? Спасибо
> в 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;
> }
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?21,254340,254340#msg-254340
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Attachments:
open | download - smime.p7s (5.2 KB)
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: 76
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