ansible-config/roles/website/includes/base-static/templates/site.j2

18 lines
356 B
Plaintext
Raw Normal View History

2015-08-29 23:44:14 +02:00
server {
include /etc/nginx/include/no_logging.conf;
include /etc/nginx/include/no_dotfiles.conf;
include /etc/nginx/include/no_symlinks.conf;
2015-08-30 15:34:47 +02:00
{% if listing %}
include /etc/nginx/include/listing.conf;
{% endif %}
2015-08-29 23:44:14 +02:00
listen 80;
listen [::]:80;
2015-08-30 15:34:47 +02:00
server_name {{ domains | join(" ") }};
2015-08-29 23:44:14 +02:00
2015-08-30 15:34:47 +02:00
root {{ document_root }};
2015-08-29 23:44:14 +02:00
}