Acme uses light fake sites

This commit is contained in:
Emilien Mantel
2018-03-22 18:39:10 +01:00
parent ae6dc88bc4
commit 59dd3997de
2 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
server {
{% for port in item.listen | default([80]) %}
listen {{ port }};
{% endfor %}
server_name {% if item.name is string %}{{ item.name }}{% else %}{{ item.name | join(" ") }}{% endif %}{% if item.redirect_from is defined %} {% if item.redirect_from is string %}{{ item.redirect_from }}{% else %}{{ item.redirect_from | join(" ") }}{% endif %}{% endif %};
location / {
return 503;
}
}