ansible-config/roles/website/includes/base-static/templates/site.j2
2015-08-30 15:35:09 +02:00

18 lines
356 B
Django/Jinja

server {
include /etc/nginx/include/no_logging.conf;
include /etc/nginx/include/no_dotfiles.conf;
include /etc/nginx/include/no_symlinks.conf;
{% if listing %}
include /etc/nginx/include/listing.conf;
{% endif %}
listen 80;
listen [::]:80;
server_name {{ domains | join(" ") }};
root {{ document_root }};
}