mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-10-19 03:24:04 +07:00
Acme uses light fake sites
This commit is contained in:
1 parent
ae6dc88bc4
commit
59dd3997de
2 files changed
+11
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user