Add extra-services (used to be conf-hidden.d in caddy)
This commit is contained in:
parent
7400ef19ad
commit
f8c478b2e6
12 changed files with 29 additions and 107 deletions
_ansible/templates
|
@ -18,6 +18,8 @@
|
|||
handle {
|
||||
{% if svc.faas_function|default(false) %}
|
||||
import faas {{ svc.faas_function }}
|
||||
{% elif svc.redirect|default(false) %}
|
||||
redir "{{ svc.redirect }}"
|
||||
{% else %}
|
||||
reverse_proxy {{ svc.docker_host|default(svc.name) }}:{{ svc.port }}
|
||||
{% endif %}
|
||||
|
|
Reference in a new issue