Reconfigure vagrant

This commit is contained in:
2016-12-31 10:21:27 +03:00
parent 0d316aac6c
commit ec822f1441
12 changed files with 77 additions and 131 deletions

View File

@ -1,10 +0,0 @@
server {
listen 80;
server_name {{ site.domain }} www.{{ site.domain }};
location / {
root /var/www/{{ site.www_dir }}/current/web;
index index.html;
try_files $uri /index.html;
}
}

View File

@ -0,0 +1,12 @@
server {
listen 80;
server_name {{ nginx_conf_domain }} www.{{ nginx_conf_domain }};
location / {
root {{ nginx_conf_root }};
index index.html;
try_files $uri /index.html;
}
sendfile off;
}