Add ansible tasks
This commit is contained in:
10
ansible/roles/nginx/templates/homepage.tpl
Executable file
10
ansible/roles/nginx/templates/homepage.tpl
Executable file
@ -0,0 +1,10 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user