homepage/ansible/roles/nginx/templates/site.conf.j2

13 lines
236 B
Django/Jinja
Executable File

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;
}