ansible-role-nginx/templates/api.j2

16 lines
241 B
Plaintext
Raw Normal View History

server {
listen 8080;
location /api {
{% if api.write %}
api write=on;
{% else %}
api;
{% endif %}
}
{% if api.dashboard %}
location = /dashboard.html {
root /usr/share/nginx/html;
}
{% endif %}
}