Reconfigure vagrant
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
12
ansible/roles/nginx/templates/site.conf.j2
Executable file
12
ansible/roles/nginx/templates/site.conf.j2
Executable 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;
|
||||
}
|
Reference in New Issue
Block a user